Conditional probability

Conditional probability is the probability of an event occurring given that another event has already occurred. It is denoted by P(A|B) and read as “the probability of A given B”. The formula for conditional probability is: P(A|B) = P(A and B) / P(B) Where P(A and B) is the probability of A and B occurring…