Google Classroom
GeoGebraGeoGebra Razred

Generating π from a number of random numbers

In the following simulation it is used the fact that the probability of two random integers being coprime is 6/π². Instructions: Change the Total sample (n) of random numbers to approximate π.
Inspired by Matt Parker's video from his channel Standupmahts:
Here http://www.cut-the-knot.org/ you can find some proofs that the probability of two random integers being coprime is 6/π².