7. Modeling Randomness
Sign In
PRBcolumn. Then, choose the fifth option,
randint(.
Now press ENTER. We want to use the randInt(
function to generate random numbers — which represent the seats — from 1 to 20 about 100 times. The calculator will do that for us if we type in randInt(1,20,100). The output should look like the one in the following picture. Since the process is random, your numbers will be different.
In our case, we can see that Tom was assigned seat 3 in the first week, seat 14 in the second week, seat 20 in the third week, and so on. Let's write down this information in a table.
Week | Seat |
---|---|
1 | 3 |
2 | 14 |
3 | 20 |
4 | 13 |
5 | 7 |
6 | 2 |
7 | 20 |
8 | 4 |
9 | 8 |
10 | 3 |
11 | 5 |
12 | 18 |
13 | 8 |
14 | 3 |
14 | 12 |
15 | 13 |
16 | 2 |
17 | 5 |
18 | 5 |
In the first simulation, Tom was assigned the same seat two weeks in a row after 18 weeks! Now we can repeat this process 9 more times. We will show the results of all of the simulations in a table.
Simulation | Number of Weeks After Tom Got the Same Seat Two Weeks in a Row |
---|---|
1 | 18 weeks |
2 | 40 weeks |
2 | 11 weeks |
3 | 42 weeks |
4 | 9 weeks |
5 | 6 weeks |
6 | 89 weeks |
7 | 14 weeks |
8 | 3 weeks |
9 | 70 weeks |
10 | 5 weeks |