suppose we have two hats one has 4 red balls and 6 green balls, the other has 6 red and 4 green. we toss a fair coin, if heads, pick a random ball from the first hat, if tails from the second. What is the probability of getting a red ball.
Solution:
"P(Red)=P(Red|H).P(H)+P(Red|T).P(T)\n\\\\=\\dfrac{4}{10}.\\dfrac{1}{2}+\\dfrac{6}{10}.\\dfrac{1}{2}\n\\\\=\\dfrac{1}{2}"
Comments
Leave a comment