if x is to be chosen at random from the set { 1 , 2 , 3 , 4 } and y is to be chosen at random from the set { 5 , 6 , 7 } , what is the probability that xy will be odd ?
"probably the best way to solve would be to use 1 - p ( opposite event ) = 1 - p ( odd ) = 1 - p ( odd ) * p ( odd ) = 1 - 2 / 4 * 2 / 3 = 8 / 12 = 1 / 3 . answer : b ."
divide(power(2, 2), multiply(choose(4, 2), choose(2, 1)))