We can use the binomial probability formula for this:
$P(X=k) = \binom{n}{k} p^k (1-p)^{n-k}$
where $n$ is the number of trials (computers), $k$ is the number of successes (infected computers), and $p$ is the probability of success (0.2).
So, the probability
Show more…