If At First... | Statistics In Your World |
Student Notes | ||||||||||||||||||||||||||||||||
Teachers Notes | ||||||||||||||||||||||||||||||||
The Minibus Which Key? Traffic Lights |
More Simulations
The numbers are printed in pairs, but you can read them one at
a time.
The Minibus Albert Ward decides to run his minibus on a Saturday. On Saturdays out of every 8 people who book 7 come. Here we need the digits 1,2,3,4,5,6,7,8
If the number is 1, the person does not come.
Discuss your results with a friend.
Which Key? A man has six keys in his pocket. He returns home late one night when it is very dark. He takes a key to open the door. If it is the wrong key, he drops it back into his pocket and picks out another. (It could be the same one!)
How many, keys does he need to try? You can simulate this using random numbers from 1 to 6. If the number is 1, it is the correct key and the trial is complete. If the number is 2, 3, 4, 5, 6, it is the wrong key and he must try again.
Ignore numbers 7,8,9, and 0.
Another night the man thinks more carefully. If a key does not fit, he takes a different one before putting the last key back into his pocket. For this simulation you must not use a number if it is the same as the one before.
The next time the man thinks very carefully. If the key does not fit, he puts it back into another pocket. This time a random number cannot be repeated at all so, at most, he tries all six keys.
Is this what you would expect?
Traffic Lights Fred passes through two sets of traffic lights each morning. He has timed both of them. He finds that the first set shows green for 30 seconds out of 50 seconds.
Write out a method, as in B3, for simulating this probability using random numbers. The second set of traffic lights shows green for 30 seconds out of 90 seconds.
To simulate Fred's journey through both sets of traffic lights you must choose two random numbers. Use the first one to decide whether Fred stops at the first set of lights. Use the second one to decide whether Fred stops at the second set of lights.
|