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] $$Constructor and Description |
---|
HyperRectangleQuadratureEx1() |
public static void main(String[] args)
Copyright © 2020 Rogue Wave Software. All rights reserved.