Two Plus Two Older Archives  

Go Back   Two Plus Two Older Archives > General Gambling > Probability

Reply
 
Thread Tools Display Modes
  #1  
Old 10-30-2004, 08:54 PM
tubbyspencer tubbyspencer is offline
Senior Member
 
Join Date: May 2004
Posts: 203
Default 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)
Reply With Quote
  #2  
Old 10-30-2004, 09:30 PM
aces961 aces961 is offline
Member
 
Join Date: Aug 2003
Location: Urbana, IL
Posts: 69
Default 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.
Reply With Quote
  #3  
Old 10-30-2004, 11:25 PM
pzhon pzhon is offline
Member
 
Join Date: Mar 2004
Posts: 66
Default 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.
Reply With Quote
  #4  
Old 10-31-2004, 12:49 AM
lorinda lorinda is offline
Senior Member
 
Join Date: Sep 2002
Location: England
Posts: 2,478
Default Re: Coin Flip

Handy Binomial Calculator.

Lori
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:16 AM.


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