00:03
So in part a of this problem, we're told that a roulette wheel has 38 slots, 18 red, 18 black, and two green.
00:10
We want to simulate one spin of this wheel.
00:14
So to simulate, we're going to choose some random numbers, some random two -digit numbers, from 0 ,0 up to 40.
00:25
And say if we choose the 0 -0 up to 18, then this will mean that we spun a red, and 19 to 37 would mean that we spun black, and 38 to 40 would be green.
00:52
So why does this not work? why does the probability of, say, getting a red with this random number, game not match the probability of getting a red in the roulette wheel.
01:06
Well, here there's 41 total numbers, right? 0 or 1 up to 40 and then plus the 0 .0.
01:15
So 41 total numbers.
01:18
And there's 18 or 19 give you red.
01:24
19 of the numbers give you red...