Coins in a box: aa conditional probability problem

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
Catchfire
Messages
30
Reaction score
0
Hello,
I've been working on some questions from Rice's Mathematical Statistics and Data Analysis and I'm not sure about my solutions.

The question I'm working on is as follows:
1.8 #59c
A box has 3 coins: 1 with two heads, 1 with 2 tails and 1 fair coin. A coin chosen randomly is flipped and comes up heads. If the coin is flipped again and comes up heads, what's the probability it's the two headed coin?

My solution:
Let A be the event the coin has two heads and let B be the event that heads is flipped twice.
P(A|B) = P(A[itex]\cap[/itex]B) / P(B) = P(B|A)P(A) / P(B) = 1*(1/3) / P(B)

P(B) = 1/3*1 + 1/3*1/4 = 5/12

P(A|B) = 1/3 / 5/12 = 4/5

Is this correct?
 
Physics news on Phys.org
Thanks.

Ps sorry mods, posted in wrong forum, please move to homework subforum.