Main Concept - Maple Programming Help

Home : Support : Online Help : Math Apps : Probability and Statistics : Statistics : MathApps/MonteCarloApproximationOfPi

Monte Carlo Approximation Of  ${\mathrm{π}}$

Main Concept

The Monte Carlo method in approximating π follows the following steps:

 1 A number of points are selected at random within a square with an inscribed circle
 2 The number of points inside the circle divided by the total number of points will result in an approximation of π/4. We multiply by 4 to get the estimate for $\mathrm{π}$.

Adjust the number of points being plotted and see how it affects the approximation of Pi.

 number of dots$\mathbf{=}$

 More MathApps