We can use the binomial probability formula to find the probabilities for each outcome:
$P(X=k) = \binom{n}{k} p^k (1-p)^{n-k}$
where n is the number of trials (in this case, 2 parts chosen), k is the number of successes (defectives found), and p is the
Show more…