Lesson 128 — Running Simulations with Digital Tools for Compound Events
Strand: Probability | Descriptor: AC9M8P03 | Duration: 45 minutes
Learning Intentions
- To use digital tools, such as spreadsheet random-number functions, to simulate chance events efficiently at scale.
- To set up simulation rules that correctly match a real event’s probabilities, including for compound events.
Success Criteria
I can:
- Translate a chance event into a digital simulation rule, assigning number ranges to outcomes correctly.
- Run a large number of simulated trials using a digital tool and record the results.
- Calculate relative frequency from simulated data, including for compound (“and”) conditions.
- Explain why digital simulation allows many more trials than a hands-on experiment, and why this matters.
Warmup
(5 minutes — mini whiteboards, rapid-fire)
- What values can the spreadsheet formula
=RANDBETWEEN(1,6)produce? - Are all six values in Q1 equally likely?
- How could
=RANDBETWEEN(1,2)be used to simulate a fair coin toss? - What does the function
COUNTIFdo, in your own words?
Answers: 1. Any whole number from
Activities
Activity 1 — Explicit Instruction: Building a Simulation Rule (12 min)
I do / We do / You do.
I do: Simulate a fair coin. Formula: =RANDBETWEEN(1,2), with =COUNTIF(A1:A200,1). Relative frequency of heads
We do: Together design a rule for a spinner with =RANDBETWEEN(1,10). Check the proportions match the sectors: red
You do: Design the number ranges for =RANDBETWEEN(1,20) to simulate a spinner with outcomes A (
(Answer: A
Activity 2 — Applied Task: Simulating Two Dice (16 min)
Pairs, working with a spreadsheet (or a provided printed simulation output if a device is unavailable).
Recall from Lesson 122 that rolling two fair dice gives
Set-up:
| Column | Formula |
|---|---|
| A (Die 1) | =RANDBETWEEN(1,6) |
| B (Die 2) | =RANDBETWEEN(1,6) |
| C (Sum) | =A1+B1 |
| D (Same?) | =IF(A1=B1,1,0) |
Fill down
Sample simulated output (for discussion): sum
Compare with the theoretical
Now extend — a genuinely compound (“and”) condition: find =COUNTIFS(A1:A300,6,B1:B300,6)/300. State the theoretical value to check against.
(Theoretical: COUNTIFS is required here, not two separate COUNTIFs, since the condition needs both columns to be true on the same row.)
Activity 3 — Inquiry: why Scale Matters (7 min)
Whole class discussion.
A hands-on experiment of
dice rolls takes real time and effort. A spreadsheet can simulate rolls in under a second.
- Why might a result from
simulated rolls still swing quite far from the theoretical probability? - What would you expect to happen to that swing at
rolls? At ? - Why is a digital tool especially useful for exploring this question?
Discussion points: Small samples are more strongly affected by chance swings; a digital tool lets you generate thousands of trials almost instantly, letting the class see the swings shrink as the sample grows, rather than just being told they should. (This becomes the formal focus of Lesson 129 — the law of large numbers.)
Checks for Understanding
(5 minutes — exit ticket, collected)
- Write the spreadsheet formula to simulate rolling a fair
-sided die. - A spinner has outcomes A (
), B ( ), C ( ). Using =RANDBETWEEN(1,20), state the number ranges you would assign to each outcome. - After simulating
trials of two coins tossed together, COUNTIFfound “both heads”times. Find the simulated relative frequency, and compare it with the theoretical value of . - Give one advantage of digital simulation over a hands-on physical experiment for estimating a probability.
Answers: 1. =RANDBETWEEN(1,8); 2. A
Common Misconceptions
| Misconception | How to pre-empt it |
|---|---|
| Assigning unequal-sized number ranges to outcomes that should be equally likely. | Always check that each outcome’s range contains the same count of integers, e.g. RANDBETWEEN(1,6). |
Using RANDBETWEEN(1,6) but believing it can also return | State explicitly that both endpoints are included and no other values are possible. |
Using two separate COUNTIFs and adding them for an “and” condition. | Model COUNTIFS directly, contrasting it with the “or” case, which does use two COUNTIFs added together. |
| Believing a simulated relative frequency must exactly match the theoretical probability, however many trials are run. | Revisit Activity 2’s sample output — close, but not exact, even at |
Forgetting to divide the COUNTIF/COUNTIFS result by the total number of simulated trials. | Insist relative frequency is always written as a fraction of the total, never as a raw count. |
Enrichment — Competition-Style Problems
E1 (AMC Junior style). A simulation uses =RANDBETWEEN(1,100) to model an event with probability
Answer
Any
E2 (Kangaroo style). Two dice are simulated COUNTIF finds that “sum
Answer
Close — a difference of about
E3 (Challenge). Using the two-dice simulation columns from Activity 2, describe the formulas needed to estimate
Answer
Add a column, e.g. =IF(OR(A1=6,B1=6),1,0), then find =SUM(that column)/300. Theoretical value:
Homework
- Write the spreadsheet formula to simulate a fair coin toss, stating which value represents heads.
- A spinner has outcomes X (
), Y ( ), Z ( ). Using =RANDBETWEEN(1,20), assign a number range to each outcome. COUNTIFis used onsimulated die rolls and finds face occurred times. Find the simulated relative frequency and compare it with the theoretical . - Explain the difference between
COUNTIFandCOUNTIFS, using a probability example for each. - Reasoning. A student sets up
=RANDBETWEEN(0,5)to simulate a fair die. Explain what is wrong with this formula. - Reasoning. Explain why running
simulated trials gives a more reliable relative frequency than running . - Challenge. Design the
RANDBETWEENranges needed to simulate a spinner withoutcomes in the ratio (total parts), and state the probability each range represents.
Answers: 1. =RANDBETWEEN(1,2), with COUNTIF counts cells meeting one condition (e.g. how many rolls were a COUNTIFS counts rows meeting two or more conditions simultaneously (e.g. how many rows had Die 1 RANDBETWEEN(0,5) produces =RANDBETWEEN(1,10): outcome A