Chances of Zero

A random number between 0 (inclusive) and 1 (exclusive) is chosen. What is the probability that the number is 0?

Yeahh.. this question is retarded. It’s like trying to find the area of a line. You can’t.

Programming approach to this problem:

javascript:var output = 0; for (var i=0;i<10000000;i++){if (Math.random() == 0){ output++;}} alert(output);

Clear the address bar of your web browser and type that in. Basically, it’ll generate 10000000 random numbers (between 0 and 1) and check if each one is equal to 0.

You should get a alert that says "0". Meaning: Out of 10000000 attempts, 0 was generated 0 times.

That’s just it. Your chances of getting a 0 are so infinitesimally small that most people just accept that the probability is 0%.

Now, by some freak-of-nature coincidence, your computer might actually generate the full floating-point value of absolute 0, but that’s pretty unlikely.

So, no matter how bad your situation looks, your chances are never 0. So don’t give up!

-Roger

source
Yeah.. it’s really retarded how they take away your water bottles…

miisty
Mon Nov 23 2009 04:10:53 +0000

DANGO DANGO DANGO! â™¥â™¥â™¥â™¥

boo
Mon Nov 23 2009 03:00:12 +0000

you can DROP to a 99% in chemistry yet you’re worried about spanish? =_=’

youllneverknow
Sun Nov 22 2009 07:13:41 +0000

that’s such a cute comic strip xD
btw, love the new song you added :D

Tue Feb 28 2017 14:30:32 +0000