# 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!

(Thinks about Spanish grade..)

-Roger

source

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

## 3 CommentsAdd one

DANGO DANGO DANGO! ♥♥♥♥

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

that’s such a cute comic strip xD

btw, love the new song you added :D