Try it yourself · Class 9 Maths · Probability

Coin tosses: change p and the number of tosses

Each toss gives heads with chance . The solid line shows the fraction of heads after each toss, and the dashed line shows . With few tosses the fraction jumps around, but with many tosses it settles close to .

Each toss is heads with chance . Solid line: running fraction. Dashed: .

The simulation needs JavaScript; everything it shows is explained below.

What to change

  • Slide Chance of heads p from 0.1 to 0.9, in steps of 0.1.
  • Slide Number of tosses from 10 to 1000, in steps of 10.
  • Press Toss again to make a new set of tosses.

What to watch

  • The solid line starts far from the dashed line and then settles near it.
  • With p = 0.5 and 20 tosses, the first run gives 13 heads, a fraction of 0.650 and a gap from p of 0.150.
  • With p = 0.5 and 1000 tosses, the first run gives 517 heads, a fraction of 0.517 and a gap of only 0.017.
  • Press Toss again and the numbers change, but longer runs usually stay nearer to p.

The formula

This fraction is the experimental probability of heads. For many tosses it gets close to the chance of heads on one toss.

Try these questions

Work each one out with the simulation, tap to see the answer, then try the chapter quiz.

  1. Our question

    A die is rolled times and a appears exactly times. What is the experimental probability of rolling a ?
    Show the answer
    (C)
  2. Our question

    A drawing pin is dropped times. It lands point up times and point down times. What is the experimental probability that it lands point down?
    Show the answer
    (A)

More to try in Probability

Every simulation in the Lab