Monte Carlo Estimate for Pi

Requires a Wolfram Notebook System
Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.
A simple Monte Carlo estimate for the value of can be found by generating random points on a square and counting the proportion that lie inside an inscribed circle. The probability of a point landing in the circle is proportional to the relative areas of the circle and square. However this method converges slowly, with many sample points needed to get an accurate approximation.
Contributed by: Jon McLoone (March 2011)
Open content licensed under CC BY-NC-SA
Snapshots
Details
detailSectionParagraphPermanent Citation
"Monte Carlo Estimate for Pi"
http://demonstrations.wolfram.com/MonteCarloEstimateForPi/
Wolfram Demonstrations Project
Published: March 15 2011