Download ModelDownload Sourceembed

About

 

For Teachers

Translations

Code Language Translator Run

Software Requirements

SoftwareRequirements


Android iOS Windows MacOS
with best with Chrome Chrome Chrome Chrome
support full-screen? Yes. Chrome/Opera No. Firefox/ Samsung Internet Not yet Yes Yes
cannot work on some mobile browser that don't understand JavaScript such as.....
cannot work on Internet Explorer 9 and below

 

Credits

Carla Martín; Tan Wei Chiong; Loo Kang Wee

end faq

Sample Learning Goals

[text]

For Teachers

Before, we had a simulation on the calculation of π using Archimedes' algorithm. This simulation shows yet another method that can be used to approximate the value of π.

The Monte Carlo method is done by taking a unit square (a square of length 1) and inscribing a quadrant inside. A arbitrary number of points is then randomly scattered in the square. Since the area of the square is 1 and the area of the inscribed quadrant is π/4, the ratio of the number of points that land in the quadrant to the total number of points becomes an estimate of π/4, which is then multiplied by 4 to estimate π.

This method is used widely in mathematics and physics when a problem cannot be solved analytically.

The number of points can be set up to 50000 points. Hit the randomize button to randomize the placement of the points.

Research

[text]

Video

[text]

 Version:

  1. http://weelookang.blogspot.com/2018/05/monte-carlo-pi-calculation-javascript.html
  2. http://www.euclides.dia.uned.es/simulab-pfp/curso_online/cap7_caseStudies/sec_MonteCarloPI.htm by Alfonso Urquia and Carla Martin-Villalba

Other Resources

[text]

end faq

1 1 1 1 1 1 1 1 1 1 Rating 0.00 (0 Votes)