Answer:
0.1248 = 12.48% probability of getting 3 blues.
Explanation:
The M&Ms are chosen without replacement, which means that the hypergeometric distribution is used to solve this question.
Hypergeometric distribution:
The probability of x successes is given by the following formula:
![P(X = x) = h(x,N,n,k) = (C_(k,x)*C_(N-k,n-x))/(C_(N,n))](https://img.qammunity.org/2022/formulas/mathematics/college/9rx8mdll3dvau07qbla1h13xgxq6bm431k.png)
In which:
x is the number of successes.
N is the size of the population.
n is the size of the sample.
k is the total number of desired outcomes.
Combinations formula:
is the number of different combinations of x objects from a set of n elements, given by the following formula.
![C_(n,x) = (n!)/(x!(n-x)!)](https://img.qammunity.org/2022/formulas/mathematics/college/mztppiaohythui2rvvokdfm636pzgsn6x6.png)
In this question:
7 + 4 + 4 + 2 + 3 + 3 = 23 total M&Ms, which means that
![N = 23](https://img.qammunity.org/2022/formulas/mathematics/college/c52acwamm5zyfeyy1j6p8cvjxurft5lata.png)
Sample of 5 means that
![n = 5](https://img.qammunity.org/2022/formulas/mathematics/college/xnqjpd3wbza4ikdn8ewoq25z6zhltfh8ao.png)
7 blue means that
![k = 7](https://img.qammunity.org/2022/formulas/mathematics/college/9b6itkddg6w7nrh0o7jgzxegmjmuz9efgl.png)
What is the probability of getting 3 blues?
This is P(X = 3).
![P(X = x) = h(x,N,n,k) = (C_(k,x)*C_(N-k,n-x))/(C_(N,n))](https://img.qammunity.org/2022/formulas/mathematics/college/9rx8mdll3dvau07qbla1h13xgxq6bm431k.png)
![P(X = 3) = h(3,23,5,7) = (C_(7,3)*C_(16,2))/(C_(23,5)) = 0.1248](https://img.qammunity.org/2022/formulas/mathematics/college/1emxabz3663tsr5imsihym3g216lwtssb2.png)
0.1248 = 12.48% probability of getting 3 blues.