Here, the formula P(X = x) equal to [n! ÷ x! ÷ (n − x)!] × px × (1 − p)(n − x)
translates to P(X = 5) = [7! ÷ 5! ÷ (7 − 5)!] × 0.55 × (1 − 0.5)(7 − 5) (for a fair
coin with equal or one-half probability of landing on either side).
Then write [7 × 6 ÷ 2] × 0.55 × (1 − 0.5)(7 − 5) which goes to 21 × (1/2)7 or 21/128
(equal to 0.1640625).