p = 0.5
n = 5
This is a binomial distribution
P(X = x) = 5Cx * 0.5x * (1 - 0.5)5-x
1) P(X = 2) = 5C2 * 0.52 * 0.53 = 0.3125 =
31.25%
2) P(X = 4) = 5C4 * 0.54 * 0.51 = 0.1563 =
15.63%
3) P(2 heads in first 5 and 4 heads in next 5) = P(X = 2) * P(X
= 4)
= 0.3125 * 0.1563
= 0.0488
= 4.88% (ans)