Main Concept - Maple Programming Help

Online Help

All Products    Maple    MapleSim

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

Monte Carlo Approximation Of  π

Main Concept

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



A number of points are selected at random within a square with an inscribed circle


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 π.


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

number of dots=


More MathApps