# Thread: How do I make billions of dollars....

1. Use your brain

2. And my brain says that gambling wields the greatest chance for 99% of the world population, to earn billions. xD

Winning 27 times in a row has a 1 in 2916 chance of succeeding. On a world population of 6 billion people, this would mean that 2 million people would become billionaire's this way.

Turning 6 billion dollars into 2 (how much is a million billion?) dollars. (Since all that loose would only loose a dollar most.).

Unfortunatly, casino's don't have that kind of money. :P

3. You know, when you think of it that way. You have a chance of becoming a billionaire by spending 2916 dollars.

Ofcourse, chance is relative. You might not get the monies until you've spend like a million dollars. Out of the 6 billion dollars spend on the world population, only 2 million get the win. If you keep ending up on the wrong side, tough luck. :P

4. Originally Posted by Fluffywolf
And my brain says that gambling wields the greatest chance for 99% of the world population, to earn billions. xD

Winning 27 times in a row has a 1 in 2916 chance of succeeding. On a world population of 6 billion people, this would mean that 2 million people would become billionaire's this way.

Turning 6 billion dollars into 2 (how much is a million billion?) dollars. (Since all that loose would only loose a dollar most.).

Unfortunatly, casino's don't have that kind of money. :P
I dont know how to play roulette, but even if you have a 50% chance of winning in one go. The probablity of winning 27 in a row is
(1/2)^27. Which is like 1/7,450,580,596,923,828,125.

This assume all the chances are independent.

5. Ehh, probability factor are mathematical terms to reach near certainty. But I doubt you would need to flip a coin 7,450,580,596,923,828,125 times until you have throw heads 27 times in a row in actual practice.

6. Originally Posted by Fluffywolf
Ehh, probability factor are mathematical terms to reach near certainty. But I doubt you would need to flip a coin 7,450,580,596,923,828,125 times until you have throw heads 27 times in a row in actual practice.
Maybe even longer, but when you have time write a program, with a random function
and see how many times it will take before you get heads 27 times.

I am going to do that now, since you said maths is different than in practice.

7. Well, I maybe worded it wrongly.

All I'm saying is that it's a parabolical function.

The chance to get close to the mathematical number 1 is parabolical, 1/100000 might already have a 90% chance, even though to reach as close to 1 as probability applies, is 1/7,450,580,596,923,828,125

So, in practice, you will most likely reach the winning number WAAAAY before the mathematical probability factor.

8. import java.util.*;
public class CoinToss {

public static void main(String args[]){
int count;
double tries = 0;
int end = 20;
count = 0;
Random rand = new Random();
while(count < end){
tries++;
int num = rand.nextInt() % 2;

if(num == 0){
count = 0;
}else{
count++;
}

if(tries%100 == 0){
System.out.println("The number of Tries: "+tries);
}
}
System.out.println("The number of Tries: "+tries);

}

}

9. It works up to 20 but crashes on 27.

10. Yes sometimes it might come before in practice but the mathematical value you gives the most likely value.

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
Single Sign On provided by vBSSO