Probability and simulation
Random sampling can estimate fixed mathematical quantities.
This prototype introduces Monte Carlo simulation through two visual examples: estimating pi and estimating area under a curve.
The aim is to help learners see how probability, geometry and computation can work together.
Monte Carlo lab
Use randomness to estimate something deterministic
Monte Carlo methods use random sampling to estimate quantities that may be difficult to calculate directly. More samples usually improve the estimate, but randomness means the error wiggles.
Estimate
3.14
Exact value
3.1416
Absolute error
0.0016
Hits
471 / 600
Joy in the process
The point is not just to finish. It is to notice, test and return.
These tools are invitations to explore. A good mistake, a surprising pattern or a question you cannot yet answer is part of the work, not a failure of it.
The challenge is deliberate: the site should support thinking, not remove the need for it.
Future extensions