---
title: "Run it a thousand times"
subtitle: "Year 9 Probability · Chance · Lesson 8"
---

# Run it a thousand times

**Name:** {{field-24}} **Date:** {{field-15}} **Class:** {{field-15}}

> **Key question:** If she scores 4 in 5, how often does she score two in a row? Run it and see.


:::teacher-note

**In one sentence:** A computer can run a simulation of two kicks a thousand times. Compare the relative frequency of one kick and of two goals in a row with what counting predicts.

**Students should be able to say:** I can run a simulation and read its relative frequency. I can compare it with the counted probability. I can say why more trials help.

**Width:** the unmarked parts are the floor every student does (predict, run, investigate and make). Typical adds the modify practice; wider adds the real-world contexts. They add contexts, not difficulty. Students work in the online tutorial alongside this sheet.

:::


## Predict


:::keep-together

**She scores 80% of kicks. Roughly how often do you expect two goals in a row?**

☐ About 80%

☐ About 64%

☐ About 160%

My prediction, and why:

{{lines-3}}

:::


:::teacher-note

**What happens:** About 64%. Counting the 25 equally likely pairs, 16 are two goals: 16/25 = 0.64.

:::


## Run

Try it on the board in the tutorial. Was your prediction right? What was different?

{{lines-2}}

## Simulated or counted


:::keep-together

### Count the pairs

1. $25 \text{ pairs},\ 16 \text{ with two goals}$ — Count the grid.
2. $P(\text{two goals}) = \tfrac{16}{25} = 0.64$ — Favourable over all.
3. $\text{run 1000 trials} \to \approx 0.64$ — The simulation should agree, give or take.

**Counting the grid: how many of the 25 pairs are two goals?**

Answer: {{field-15}}

:::


:::teacher-note

**Answer:** 16

4 × 4 = 16 pairs.

:::


:::keep-together

### More or fewer trials

**Which is closer to the counted probability 0.64?**

☐ A relative frequency after 10 trials

☐ Neither: a simulation never gets near

☐ They are equally close

☐ A relative frequency after 1000 trials

:::


:::teacher-note

**Answer:** A relative frequency after 1000 trials

More trials give a steadier relative frequency. Ten trials can easily be 0.5 or 0.8.

:::


:::keep-together

### Find the mistake

**Mia runs 20 trials. Click the line where she goes wrong.**

```
 1  I ran the simulation of two kicks 20 times.
 2  Both kicks were goals in 11 of them, so the relative frequency is 11/20 = 0.55.
 3  That is not 0.64, so the counting must be wrong.
```

Line: {{field-15}}

Why is it wrong?

{{lines-2}}

:::


:::teacher-note

**Answer:** line 3

Line 3: 20 trials is too few. A relative frequency from 20 trials varies a lot (11 of 20 could easily be 16 of 25 in disguise). Run many more and compare again.

:::


:::typical

## Other strikers


**Weaker striker.** 

**At least one miss.** 

**Close enough.** 

Work in the tutorial. Plan first: what will you change, and how will you test it?

{{box-4}}

:::


## Compare and count


:::keep-together

### Red then red

**A spinner has 3 equal sectors, one of them red. It is spun twice. How many of the 9 pairs are red then red?**

Answer: {{field-15}}

:::


:::teacher-note

**Answer:** 1

Only one: red on the first and red on the second.

:::


:::keep-together

### Relative frequency

**1000 simulated trials gave 'both goals' 630 times. What is the relative frequency (a decimal)?**

Answer: {{field-15}}

:::


:::teacher-note

**Answer:** 0.63

630 ÷ 1000 = 0.63.

:::


:::keep-together

### Review

**Review: of 40 days, it rained on 14 and the bus was late on 14, with 10 days both. How many days were late or rainy?**

Answer: {{field-15}}

:::


:::teacher-note

**Answer:** 18

14 + 14 − 10 = 18.

:::


## Make: compare with the count

Is 0.012 close? Compare it with how far 11 of 20 (0.55) is from 0.64.

**Also used in**

- **Medicine and engineering.** Computers simulate thousands of tests before anything is built or tried on people.
- **Games.** Designers simulate a million rounds to check a game is fair.
- **Next lesson.** Why real results still differ from a simulation.

Work in the tutorial. Plan first: what will you change, and how will you test it?

{{box-4}}

## Exit ticket

:::keep-together

**1000 trials: 648 successes. Relative frequency?**

{{lines-3}}

:::


:::teacher-note

**Answer:** 0.648.

:::

