there is a 50 % chance jen will visit chile this year , while there is a 25 % chance that she will visit madagascar this year . what is the probability that jen will visit either chile or madagascar this year , but not both ? [ / b ]
"the thing to note in the question is she would not be visiting both . thus p ( chile ) * ( 1 - p ( madagascar ) ) + p ( madagascar ) * ( 1 - p ( chile ) ) which is ( 1 / 2 * 3 / 4 ) + ( 1 / 4 * 1 / 2 ) , 3 / 8 * 1 / 8 = 1 / 2 = 50 % answer : b"
multiply(add(multiply(divide(subtract(power(multiply(const_2, const_5), const_2), 50), power(multiply(const_2, const_5), const_2)), divide(25, power(multiply(const_2, const_5), const_2))), multiply(divide(50, power(multiply(const_2, const_5), const_2)), divide(25, power(multiply(const_2, const_5), const_2)))), power(multiply(const_2, const_5), const_2))