Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Playground › Chance lab

Probability simulator

Try a chance experiment a few times and anything can happen. Repeat it thousands of times and the share of each result settles on its true probability. That is the law of large numbers. Count heads in groups of coins and the counts form a bell curve.

What to notice

  • A fair coin lands heads half the time, but only in the long run.
  • 7 is the most likely total for two dice: 6 of the 36 ways.
  • Exactly 5 heads in 10 coins happens about 25% of the time; all 10 heads, about 0.1%.

Questions

What is the law of large numbers?
As you repeat a chance experiment, the share of times an outcome happens gets closer and closer to its true probability.
Why do coin flips make a bell curve?
There are many more ways to get a mix of heads and tails than to get all one kind, so middle counts come up most often.
Which dice total is most likely?
7, because six of the 36 pairs make it: 1+6, 2+5, 3+4, 4+3, 5+2 and 6+1.

Learn it properly

  • Probability and distributionsLesson
  • Finding π with random dotsLesson

More to play with

  • Galton board
  • Monty Hall game
  • Balance scale equations
  • Strategy tournament
  • 3D illusions