Answer on Question #38487 - Physics, Math - Statistics and Probability
Probability that randomly selected student is from the state equals to 0.75.
Let be a random variable that equals to number of students among 10 that are from the state.
has binomial distribution with parameters , . Then probability that 4 or more are from outside the state equals to
To get this result using simulation you should do following:
1) Generate 10 random numbers from 0 to 1
2) Calculate number of numbers that are less than 0.75
3) Repeat steps 1-2 T times (T is a big number, 100000 for example) and calculate number of times where results in (2) is no more than 6.
4) Divide results of (3) by T.
Comments