This is a binomial probability problem.
The formula for binomial probability is:
$$P(X=k) = C(n, k) * p^k * (1-p)^{(n-k)}$$
Where:
- $$P(X=k)$$ is the probability of exactly $$k$$ successes in $$n$$ trials.
- $$C(n, k)$$ is the binomial coefficient, calculated as
Show more…