a = { 20 , 1 , - 3 , 6 , - 8 } b = { - 1 , 2 , - 4 , 7 , - 620 } if a is a number that is randomly selected from set a , and b is a number that is randomly selected from set b , what is the probability that ab > 0 ?
for the product of 2 numbers to be positive either both of them must be positive or both of them must be negative : p ( positive , positive ) = 3 / 6 * 3 / 6 = 9 / 36 ; p ( negative , negative ) = 2 / 6 * 3 / 6 = 6 / 36 . p = 9 / 36 + 6 / 36 = 15 / 36 = 5 / 12 . answer : c .
subtract(divide(add(multiply(const_2, const_3), multiply(const_3, const_2)), power(add(1, 4), const_2)), divide(const_2, power(add(1, 4), const_2)))