Package com.imsl.test.example.math
Class QuadratureEx4
java.lang.Object
com.imsl.test.example.math.QuadratureEx4
Quadrature Example 4: Approximates a trigonometric integral.
The integral of $$\int_0^1 \cos(ax)dx$$ is computed for \( a=10^4 \) and compared to its expected value. Because the function is highly oscillatory, the quadrature rule is set to 6. The relative error tolerance is also set.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
QuadratureEx4
public QuadratureEx4()
-
-
Method Details
-
main
-