News for hackers. Stuff that matters.
Re:What is the fastest way for a programmer to make $10000? by amingilani on Sunday July 30, 2017 @01:04PM (#14886833)
Actually, he meant a 75% chance of winning..

Given the chance of winning a round is p=0.5, the chance of losing is q = 1 - p = 0.5

If you've lost the first round, the odds of you twice in a row are q = 0.5^(2 rounds) = 0.25

Which means the odds of you winning are p = 1 - q = 1 - 0.25 = 0.75.

Re:What is the fastest way for a programmer to make $10000? by 0x8BADF00D on Tuesday August 01, 2017 @05:30AM (#14899005)
Right, but the expected value of the gamble is negative.
Re:What is the fastest way for a programmer to make $10000? by dfinch on Saturday August 05, 2017 @11:38PM (#14939532)
Expected value is 0, right? .75 * 10000 - .25 * 30000