All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Probability
2 coins (Posted on 2016-03-18) Difficulty: 3 of 5
Suppose you have 2 identical-looking coins: one that is fair and one that comes up heads 75% of the time.
You randomly chose one of them, flip it 3 times and it comes up as H-H-T.

What is the chance that the coin you picked is the fair one?

Source: Project Euler

No Solution Yet Submitted by Ady TZIDON    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Shortcut (spoiler) | Comment 1 of 8
Simple Bayesian calculation

The fair coin comes up HHT with probability (1/2)*(1/2)*(1/2) = 1/8 = 8/64
The other coin comes up HHT with probability (3/4)*(3/4)*1/4 = 9/64

In my head, then, the probability of the fair coin has just become 8/17.  Final answer.

proper calculation is
(1/2)*(8/64) / ((1/2)*(8/64) + (1/2)*(9/64)), 

but I just shortcutted it as 8/(8+9)

  Posted by Steve Herman on 2016-03-18 11:05:31
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (7)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information