Two Plus Two Older Archives

Two Plus Two Older Archives (http://archives2.twoplustwo.com/index.php)
-   Probability (http://archives2.twoplustwo.com/forumdisplay.php?f=23)
-   -   Coin Flip (http://archives2.twoplustwo.com/showthread.php?t=142675)

tubbyspencer 10-30-2004 08:54 PM

Coin Flip
 
If I flip a coin one hundred times, what's the chance it comes up heads exactly 50 times?

What about a thousand flips(that it comes up heads exactly 500 times)?

(And, if you don't mind, show me how to calculate that as well... thanks)

aces961 10-30-2004 09:30 PM

Re: Coin Flip
 
[ QUOTE ]
If I flip a coin one hundred times, what's the chance it comes up heads exactly 50 times?

What about a thousand flips(that it comes up heads exactly 500 times)?

(And, if you don't mind, show me how to calculate that as well... thanks)

[/ QUOTE ]

For the case of 100 flips and 50 heads. (.5^50)*(.5^50)*(100 choose 50)

n choose r is (n factorial)/((r factorial)(n-r factorial))

You can generalize this for 500 and 1000 just replace the numbers as needed.

The equation is calculating the probability that the first 50 tosses are heads and the next 50 are tails, then the 100 choose 50 mulitplies that by the number of ways to arrange those tosses.

pzhon 10-30-2004 11:25 PM

Re: Coin Flip
 
Stirling's formula is a good approximation: n! ~ SquareRoot(2 pi n) (n/e)^n.

By Stirling's formula, if you toss a fair coin 2n times, the probability of exactly n heads is roughly 1/SquareRoot(pi n). For n=500, the exact answer is 0.025225... = 1/39.643. This approximation gives 0.025231... = 1/39.633.

lorinda 10-31-2004 12:49 AM

Re: Coin Flip
 
Handy Binomial Calculator.

Lori


All times are GMT -4. The time now is 01:24 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.