Remix Library / Techy
Probability Lab
Roll dice 10,000 times, estimate π by throwing random darts, and see math turn into pictures.
No account needed: you’ll start as a guest.
read-only · remix to edit
What you'll learn
Challenges
Remix it, then try these. Each one is a bit harder than the last.
- Roll three dice instead of two. What's the most common total now?
- Make ROLLS bigger. Does the estimate for π get closer?
- Simulate the birthday problem: how many people until two share a birthday?
- Simulate flipping a coin until you get 5 heads in a row. How long does it take on average?
- Draw the histogram sideways (vertical bars) instead.