Since $X$ is the number of heads obtained in four flips of a fair coin, it follows a binomial distribution with parameters $n=4$ (the number of trials) and $p=0.5$ (the probability of success, i.e., getting a head in a single flip).
The pmf of a binomial random
Show more…