Class HyperRectangleQuadratureEx1

java.lang.Object
com.imsl.test.example.math.HyperRectangleQuadratureEx1

public class HyperRectangleQuadratureEx1 extends Object

Evaluates a multi-dimensional integral.

This example evaluates the following multidimensional integral, with n=10. $$ \int_{a_{n-1}}^{b_{n-1}} \cdots \int_{a_0}^{b_0} \left[ \sum_{i=0}^n (-1)^i \prod_{j=0}^i x_j \right] \, dx_0 \ldots dx_{n-1} = \frac{1}{3}\left[ 1-\left(-\frac{1}{2}\right)^n\right] $$
See Also:
  • Constructor Details

    • HyperRectangleQuadratureEx1

      public HyperRectangleQuadratureEx1()
  • Method Details

    • main

      public static void main(String[] args)