Step 1:
The formula for computing the probability of $x$ successes in $n$ trials is given by:
$$
P(x; n, p) = C(n, x) \cdot p^x \cdot (1-p)^{n-x}
$$
where $C(n, x)$ is the combination of $n$ items taken $x$ at a time, $p$ is the probability of success on each
Show more…