Answer: The probability of getting a prime number exactly five times = 0.1908
Step-by-step explanation:
Prime numbers from 1 to 30 are 2,3,5,7,11, 13, 17, 19, 23, 29.
The probability of getting a prime number p= ![\dfrac{10}{30}=\dfrac13](https://tex.z-dn.net/?f=%5Cdfrac%7B10%7D%7B30%7D%3D%5Cdfrac13)
Number of trials n = 12
Binomial probability formula:
![P(X=x) = \ ^nC_x p^x(1-p)^{n-x}](https://tex.z-dn.net/?f=P%28X%3Dx%29%20%3D%20%5C%20%5EnC_x%20p%5Ex%281-p%29%5E%7Bn-x%7D)
, where x= number of successes
n= number of trials.
x = Number of successes
p= probability of getting one success.
The probability of getting a prime number exactly five times:
![P(X=5)=\ ^{12}C_5(\frac13)^5(1-\frac13)^{7}](https://tex.z-dn.net/?f=P%28X%3D5%29%3D%5C%20%5E%7B12%7DC_5%28%5Cfrac13%29%5E5%281-%5Cfrac13%29%5E%7B7%7D)
![=\frac{12!}{5!7!}(\frac1{243})(\frac{128}{2187})\\\\=0.1908](https://tex.z-dn.net/?f=%3D%5Cfrac%7B12%21%7D%7B5%217%21%7D%28%5Cfrac1%7B243%7D%29%28%5Cfrac%7B128%7D%7B2187%7D%29%5C%5C%5C%5C%3D0.1908)
Hence, the probability of getting a prime number exactly five times = 0.1908