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 function gives a random integer from to . 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 .
Step 2: Theoretical probability .
Step 3: The difference is about 0.02; with 1000 trials it is usually closer.
Result: , close to .
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
- Lesson 32: The link between experimental probability and probability, and applications Toán 8, Kết nối tri thức
Secure first, learn next
Secure first
- Vẽ biểu đồ và đếm tần số bằng phần mềm Grade 8
- Xác suất thực nghiệm Grade 6
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.
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?
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