Page 191 - Probability Demystified
P. 191
180 CHAPTER 10 Simulation
SOLUTION:
A die can be rolled until a certain arbitrary number, say 3, appears. Since the
1
probability of getting a winner is , the number of rolls will be tallied. The
5
experiment can be done 20 times. (In general, the more times the experiment
is performed, the better the approximation will be.) In this case, if a six is
rolled, it is not counted. The results are shown next.
Trial Number of rolls until
a 3 was obtained
1 1
2 6
3 5
4 4
5 11
6 5
7 1
8 3
9 7
10 2
11 4
12 2
13 4
14 1
15 6
16 9
17 1
18 5
19 7
20 11
Now, the average of the number of rolls is 4.75.