Jimoh1993/Data-Science-Lab-1-Pi-Monte-Carlo
One method to estimate the value of pie (3.141592...) is by using a Monte Carlo method. In the demo above, we have a circle of radius 0.5, enclosed by a 1 × 1 square. The area of the circle is , the area of the square is 1. If we divide the area of the circle, by the area of the square we get .
Jupyter Notebook