Suppose that p=P(male birth)=0.5. A couple wishes to have exactly two female children in their family.
They will have children until this condition is fulfilled.
a) What is the probability that the family has four children?
b) What is the probability that the family has at most four children?