46.8k views
0 votes
Use matlab to calculate the probability to get 3 times of '5' in 8 throws of a fair die

1 Answer

7 votes
p = 1/6, the probability of getting a '5' in a throw of the dice.
q = 1 - p = 5/6, the probability of not getting a '5'.

Number of trials = 8
Expected number of successes = 3

The probability is
₈C₃ (1/6)³ (5/6)⁵ = 56*0.00463*0.40188 = 0.1042

Answer: 0.1042

User Neil Atkinson
by
8.0k points