john and peter are among the 9 players a volleyball coach can choose from to field a 6 - player team . if all 6 players are chosen at random , what is the probability of choosing a team that includes john and peter ?
the total possible ways of selecting a 6 - member team is 9 c 6 = 84 the possible ways which include john and peter is 7 c 4 = 35 the probability of choosing both john and peter is 35 / 84 = 5 / 12 the answer is c .
divide(divide(factorial(subtract(9, const_2)), multiply(factorial(subtract(6, const_2)), factorial(subtract(subtract(9, const_2), subtract(6, const_2))))), divide(factorial(9), multiply(factorial(6), factorial(subtract(9, 6)))))