Since $X$ is the number of heads in four independent flips, we can use the binomial distribution to model this. The pmf of a binomial distribution is given by:
\[P(X = x) = \binom{n}{x} p^x (1-p)^{n-x}\]
where $n$ is the number of trials (in this case, the
Show more…