Bag A contains 4 green and 3 red balls and bag B contains 4 red and 3 green balls. One bag is taken at random and a ball is drawn and noted it is green. The probability that it comes from bag B is
3/7
It is based on Baye's theorem.
probability of picked bag A P(A)=12
probability of picked bag B P(B)=12
probability of green ball picked from bag A
=P(A).P(GA)=12× 47=27
probability of green ball picked from bag B
=P(B).P(GB)=12‘× 37=314
total probability of green ball =27+314=12
probability of fact that green ball is drawn from bag B
P(GB)=P(B)P(GB)P(A)P(GA)+P(B)P(GB)=12×3712×47+12×37=37