We are given:
Total number of children, $n = 5$.
Probability of having a girl, $p = \frac{1}{2}$.
Since there are only two outcomes (girl or boy), the probability of having a boy is $q = 1 - p = 1 - \frac{1}{2} = \frac{1}{2}$.
We want to find the probability of
Show more…