Skip to content
Gioi Toan
Start learning

Simulating a random experiment Maths skill, first learned in Grade 8

What you will be able to do

This content is not yet available in English. It is shown below in the original Vietnamese.

Dùng phần mềm mô phỏng thí nghiệm ngẫu nhiên để quan sát xác suất thực nghiệm.

Strand
Hoạt động thực hành và trải nghiệm
Topic
Thực hành và trải nghiệm
Difficulty
from Basic (M1) to Applying (M3)

Learning outcomes

From the 2018 maths curriculum of the Ministry of Education and Training.

  • Grade 8. Sử dụng được phần mềm mô tả thí nghiệm ngẫu nhiên.
  • Grade 9. Sử dụng được phần mềm mô tả thí nghiệm ngẫu nhiên.

Definitions and formulas

Simulate a random experiment with spreadsheet software: the RANDBETWEEN(a;b)(a; b) function gives a random integer from aa to bb. Drag the formula into many cells to get many trials, count how many times the event happens with COUNTIF, and divide by the number of trials to get the experimental probability.

Key points to remember

  • Each time the spreadsheet recalculates (F9 key), the random numbers change; the result of each run can be different.

  • The more trials, the closer the experimental probability is to the theoretical probability.

  • Number convention for the results: for a coin, 0 is tails and 1 is heads; for a die, 1 to 6.

Worked examples

Example 1

Simulate 500 coin tosses and work out the experimental probability of heads.

Show the solution to example 1

Step 1: Cell A1: =RANDBETWEEN(0; 1), with 1 meaning heads; drag down to A500.
Step 2: Cell B1: =COUNTIF(A1:A500; 1)/500.
Step 3: The result is usually close to 0.5; press F9 a few times to see it fluctuate around 0.5.
Result: the formula as above.

Example 2

One simulation of 100 die rolls with RANDBETWEEN(1; 6) gives 19 rolls of 6. Work out the experimental probability and compare it with the theoretical probability.

Show the solution to example 2

Step 1: Experimental probability 19100=0,19\frac{19}{100} = 0{,}19.
Step 2: Theoretical probability 16≈0,167\frac{1}{6} \approx 0{,}167.
Step 3: The difference is about 0.02; with 1000 trials it is usually closer.
Result: 0,190{,}19, close to 0,1670{,}167.

Common mistakes

Read these carefully so you can avoid them.

  • Thinking the simulation result is fixed, comparing with a friend, seeing a difference and immediately calling it wrong.
  • Running it 10 times, seeing 6 three times, then concluding the probability of 6 is 0.3.

Further reading

Textbook lessons

Secure first, learn next

Secure first

Learn next

This skill is the last stop on this branch. Check the map to pick another branch.

Lessons that teach this skill

Choose the textbook you use at school.

Grade 8 maths, Ket noi tri thuc

Practice

Questions go from easy to hard. Answer each one, then press Check. If you get stuck, open the hint right below the question.

Question 1 of 1Multiple choice · Recognising

In spreadsheet software (the machine uses a decimal comma to separate inputs), which formula gives a random integer from 1 to 6 to simulate one roll of a die?

Choose one option

Asking the teacher while practising is for children who have a profile. It is free to turn on: Parent sign-in.

More practice for this skill is waiting for you

  • Mô tả thí nghiệm ngẫu nhiên và tính xác suất thực nghiệm bằng Excel

Ask a parent to sign in and create your profile to unlock more. It's free. Sign in