Adaptive Monte Carlo Integration
Adaptive Monte Carlo Integration
This Demonstration compares adaptive and nonadaptive Monte Carlo integration for two different functions, and . The plot shows the places on the interval where sample points are added as the number of sample points is increased. The actual values of the integrals to six significant figures are 2.66667 and 5.65685. The adaptive technique generally gets better estimates with the same number of sample points by subdividing the subinterval with the highest error estimate. Normally this process would be repeated until some error criterion is satisfied, but in this Demonstration only four subdivisions are shown.
2
x
2
x
[0,2]