Monte Carlo π

Estimate π by throwing random points at a square and counting those that land in the circle

Starting Python…

The first visit downloads Python and NumPy (about 10 MB).

inside the circle outside π ≈ 4 × inside / all points

Estimate

?.??????

3.141592653589793 π

Points
0
Inside the circle
0
Correct decimals
0
Error
—
95% interval
—
Speed · 0.0 s
—
Seed
Loading…

Convergence

shaded: where 95% of runs are