Guide · Student Tools / Stats, Geo & Music
About Deterministic Monte Carlo π & Convergence Lab
Run repeatable seeded deterministic pseudo-random `(x, y)` dart simulations inside a unit quarter-circle (`100` to `200,000` throws) to observe `1/sqrt(N)` Monte Carlo convergence toward `pi`.
When to use this tool
Demonstrate stochastic convergence, PRNG reproducibility, and error scaling visually in statistics or CS classes.
How to use Deterministic Monte Carlo π & Convergence Lab
- Set Dart Throws `N` (`100–200,000`) and PRNG Seed.
- Inspect hits inside quarter-circle, estimated `pi`, absolute error vs `Math.PI`, and checkpoint convergence table.
Supported inputs, options, and outputs
- Inputs: Throw count `N` and integer PRNG seed.
- Outputs: Estimated `pi`, error delta, and logarithmic convergence checkpoints.
Accuracy notes and limitations
- Uses deterministic Mulberry32 PRNG so changing the seed lets you compare independent runs cleanly while matching seeds reproduce identical trials.
Privacy and browser processing
Physics, chemistry, genetics, statistics, and audio/astronomy calculations execute locally inside your browser tab without uploading data or experiment entries to IJM servers. Hosted deployments load cookie-free analytics and Google Fonts.
Read the full IJM Privacy Policy or browse all Student Tools.