A computer can repeat a chance experiment thousands of times in a second. Run a simulation of two events, record the results in a frequency table, and compare the relative frequency with the probability from the sample space.
In a board game you roll two dice every turn. Which total should you hope for, and how sure can you be? Rolling by hand would take all lesson; a simulation takes a second.
A simulation uses random numbers to act out a chance experiment, many times and quickly. Each repeat is a trial. Record the results in a frequency table, then find the relative frequency of the event: how many times it happened ÷ the number of trials.
The board is one digital tool. In a spreadsheet, =RANDBETWEEN(1,6) is one roll of a dice: a whole number from 1 to 6, each equally likely.
Predict: Read the problem and decide what you think before you try anything. A wrong guess is fine: it shows you what to look for.
Try: Try it on the board and compare the result with your prediction.
Investigate: Work out why it happens, one step at a time.
Modify: Change the problem on purpose and see what happens.
Practise: A few on your own, to check you have it.
Make: Make your own problem using what you have learned. Expect a few tries; that is normal.
Make your prediction first. Help opens once you've locked it in.
PredictRead the problem and decide what you think before you try anything. A wrong guess is fine: it shows you what to look for.
The most common total
TryTry it on the board and compare the result with your prediction.
100 trials
The table counts each total. The Probability column comes from the grid: the number of pairs with that total out of 36.
Try it yourselfYour edits are saved in this browser.
Run at least 100 trials. Which total came up most in the table? Is the relative frequency of 7 close to P(7)? Compare with your prediction.
Use the board. This ticks when you get there.
InvestigateWork out why it happens, one step at a time.
Reading a simulation
Here is the routine.
Worked exampleBefore each step, say what you think comes next.
Event: total of 9;P=364≈0.11Predict from the grid first.
Run 500 trials: 9 came up 58 timesSimulate and record.
58÷500=0.116Relative frequency.
0.116≈0.11Close: more trials would make it closer still.
Read Ella's working. How many times would you expect a 12 in 20 rolls?
In 200 simulated rolls of two dice, a total of 7 came up 31 times. What is its relative frequency?
Ella runs a short simulation. Click the line where her conclusion goes wrong.
ModifyChange the problem on purpose and see what happens.
More trials, other events
Try it yourselfYour edits are saved in this browser.
Run 1000 trials or more of two dice. Is the relative frequency of 7 within 0.04 of P(7) now?
Use the board. This ticks when you get there.
Two coins: the board shows P(at least one head) = 3/4. Say why, using the four outcomes. Then run 1000 trials or more: does the relative frequency agree?
Use the board. This ticks when you get there.
Two dice are rolled 600 times. About how many times do you expect a total of 7?
PractiseA few on your own, to check you have it.
Simulations
A simulation of two coins recorded these 20 trials: HT, HH, TT, TH, HH, HT, TT, HH, TH, HT, TT, HH, HT, TH, TT, HH, HT, TH, TT, HH. Fill in the frequency table.
outcome
HH
HT
TH
TT
count
Review: 30 students, 18 play netball, 10 play hockey, 4 play both. What is P(netball or hockey)?
MakeMake your own problem using what you have learned. Expect a few tries; that is normal.
Your own simulation
Describe your result in a sentence: the event, its probability, the relative frequency after your trials, and whether they agree.
Try it yourselfYour edits are saved in this browser.
Need a hint?
Choose any event, such as 'the total is a prime number' or 'both dice are odd'.
Another hint
Work out P(A) from the grid before you press Run.
Choose your own event on two dice, work out its probability, then run at least 1000 trials.
Use the board. This ticks when you get there.
For teachers
Students simulate two dice and two coins, record results in a frequency table, and compare relative frequencies with probabilities from the sample space (AC9M8P03, nodes 1 and 2). About 45 minutes.
I can run a simulation of two events and record the results in a frequency table.
I can find a relative frequency and compare it with the probability.
I can explain why more trials give a better estimate.
Before class
Do the Run board yourself first. Students need the two-dice grid (Grids and tree diagrams), complements, and relative frequency and the law of large numbers (Year 7 Many trials).
The one idea: a simulation is many quick trials; its relative frequency estimates the probability and gets closer as trials grow. The common mistake is concluding from a short run (Ella's mistake: no 12 in 20 rolls, so impossible).
The board is one digital tool. Others for a class task: a spreadsheet (=RANDBETWEEN(1,6) in two columns, a sum column, COUNTIF for the frequency table, filled down 1000 rows), an online dice simulator, or a short Python program. Generative AI can write a simulation, but students should check its code and its frequency table against the grid: an AI may describe results it never ran.
Wider: simulate something with no simple sample space, such as how many packets of cereal you buy to collect all 6 cards.
Running the lesson
Predict: ask how many pairs make 7, and how many make 12.
Run: ask which totals are rare, and why.
Investigate: ask how many 12s Ella should expect in 20 rolls.
Modify: ask what happens to the gap between f and P as trials grow.
Make: ask for the probability before the Run button.
The hard part (on purpose)
Trusting a short run. Ask: how many times would you expect it in this many trials? Then: is what happened surprising?
When students get stuck
A student says the simulation is wrong because 7 came up 15 times in 100, not 17. Ask: Would a real dice give exactly 17? Fix: Simulations vary like real trials; more trials, closer results.
A student reports a count as a relative frequency. Ask: Out of how many trials? Fix: Relative frequency = count ÷ trials.
A student expects the sums 2 to 12 to be equally likely. Ask: How many pairs in the grid make 2? Make 7? Fix: Count pairs: the middle totals have more.
Stretch and support
Stretch: Build the two-dice simulation in a spreadsheet with 1000 rows and a frequency table. Does it agree with the board?
Support: A frequency table template for totals 2 to 12 with columns for count, relative frequency and probability.
Where it leads
This covers AC9M8P03.
Where it leads: statistics from samples (Year 8 Statistics), and independent events and simulations in Years 9 and 10.
What each step is for
the most common total: Committing to the most likely sum of two dice shows whether they think the sums 2 to 12 are equally likely.
100 trials: Running 100 trials of two dice and reading the frequency table shows the middle totals come up most, as the grid predicts.
reading a simulation: Relative frequency is count ÷ trials; a short run can't show a probability is 0 (Ella); simulating two dice means adding two dice, not one random total.
more trials, other events: More trials bring the relative frequency close to the probability; a different compound event (coins) behaves the same; A and not A always share the trials.
simulations: Recording results in a frequency table and judging a simulation, mixed; trusting a short run is the planted slip; 'or' is the review.
your own simulation: Choosing an event, predicting, simulating and describing the result is the whole cycle of a simulation.
Now you can
Run a simulation of two events and record the results in a frequency table.
Find a relative frequency and compare it with the probability.