In: Statistics and Probability
How many ways can a person toss a coin 7 times so that the number of heads is between 4 and 6 inclusive?
Number of ways to toss a coin so that the number of heads is between 4 and 6 = number of ways to get the number of heads of 4 + number of ways to get the number of heads of 5 + number of ways to get the number of heads of 6
= 7C4 + 7C5 + 7C6
= [7! / (4! * (7 - 4)!)] + [7! / (5! * (7 - 5)!)] + [7! / (6! * (7 - 6)!)]
= 35 + 21 + 7
= 63