a basket contains 8 apples , of which 1 is spoiled and the rest are good . if we select 2 apples from the basket simultaneously and at random , what is the probability that the 2 apples selected will include the spoiled apple ?
"the total number of ways to choose 2 apples is 8 c 2 = 28 the number of ways that include the spoiled apple is 7 c 1 = 7 p ( the spoiled apple is included ) = 7 / 28 = 1 / 4 the answer is c ."
divide(choose(subtract(8, 1), 1), choose(8, 2))