Loading
Monte Carlo integration estimates an integral with random numbers: the average of at random points, times the length of the interval. The error shrinks like , slowly, but the same is true in any number of dimensions.
Estimate ∫₀¹ x² dx with N = 1000 random points.
Exam questions usually give a few random numbers. Take :
With only 5 points the estimate is rough (exact 1/3); more points make it settle.
Each run with another seed gives a slightly different estimate.
The calculator below opens on this integral.
Forgetting to multiply by (b − a).
Random numbers outside [a, b].
Expecting the exact answer.
Trusting many decimals from few points.
Using it for a smooth 1-D integral when accuracy matters.
Writing only the final answer.
The same seed always gives the same random numbers.
Add this calculator to a new note, next to your own working. It stays live: change the numbers there any time.