Then the contraceptive probability of taking medicine and wearing condoms = P (AB) = P (A) P (B) = 0.95 * 0.98 = 0.931.
Assume that a and b are independent of each other, otherwise it cannot be calculated.