this is a binary probability ... boy or girl
(g + b)^5 = g^5 + 5 g^4 b + 10 g^3 b^2 + 10 g^2 b^3 + 5 g b^4 + b^5
the 3rd term is the one you want
p(g) = p(b) = 1/2
p 2 boys and 5 children ... 10 / 2^5
Design a simulation to determine the probability of having exactly 2 boys and a family of five children
1 answer