Suppose you have two coins which appear identical in your pocket. You know that one is fair and one is 2-headed. If you take one out, toss it and get a head, what is the probability that it was a fair coin?
Let E1 be the event that a fair coin is drawn
E2 be the event that two headed coin is drawn
E be the event that tossed coin get a head