PDA

View Full Version : When geeks run out of coins


Chen
May30-04, 07:24 PM
I needed to flip a coin today to decide on something, but I could only get to a coin if I got up from my chair. So eventually I just wrote a little program to echo a random number... not that it's complicated but I think fetching a coin would have been easier. :wink:

i_wish_i_was_smart
May30-04, 07:29 PM
i have done the same on my Ti-83 plus, fun times fun times :biggrin:

Grizzlycomet
May30-04, 07:46 PM
That's me in a nutshell :biggrin:

i_wish_i_was_smart
May30-04, 10:24 PM
Geeks All Over The World Unite

BoulderHead
May30-04, 10:46 PM
I needed to flip a coin today to decide on something, but I could only get to a coin if I got up from my chair. So eventually I just wrote a little program to echo a random number... not that it's complicated but I think fetching a coin would have been easier. :wink:
You see, it's just like I always thought; often it's more work to be lazy then not. Some people expend more energy trying to avoid work then it would take to just do it. :rofl:

franznietzsche
May30-04, 10:53 PM
You're my hero

Tom Mattson
May30-04, 11:21 PM
I needed to flip a coin today to decide on something, but I could only get to a coin if I got up from my chair. So eventually I just wrote a little program to echo a random number... not that it's complicated but I think fetching a coin would have been easier. :wink:

A program, eh? Now that would be a lot easier than predicting the outcome by approximating the flick of the thumb as a delta function and solving the equations of motion, taking the fluctuations of the local air pressure into account.

Thanks for the time-saving tip!

DarkAnt
May31-04, 10:30 AM
wow, thats just sad and the worst part is...I've done the same thing

jimmy p
Jun1-04, 04:44 AM
Does it ever land on its side?

franznietzsche
Jun8-04, 01:53 AM
Does it ever land on its side?

that'd be one tough probability algorithm...

baffledMatt
Jun8-04, 10:34 AM
A PSYCHOLOGICAL TIP
Whenever you're called on to make up your mind,
and you're hampered by not having any,
the best way to solve the dilemma, you'll find,
is simply by spinning a penny.
No - not so that chance shall decide the affair
while you're passively standing there moping;
but the moment the penny is up in the air,
you suddenly know what you're hoping

Piet Hein

Do you get the same effect with your random number generator?

Also, you can visit http://www.random.org/flip.html and flip coins from across the world - but be wary of the Belgian Euro! http://www.guardian.co.uk/euro/story/0,11306,627496,00.html

Matt

phatmonky
Jun8-04, 03:04 PM
I needed to flip a coin today to decide on something, but I could only get to a coin if I got up from my chair. So eventually I just wrote a little program to echo a random number... not that it's complicated but I think fetching a coin would have been easier. :wink:

[nerdom ]Actually, writing a REAL random number generator would be
incredibly difficult.
Doing:
Label A
Rand(1,2)
Pause
Goto A
on your TI83 is not actually random :o


[/ultimate nerdom!!]

Chen
Jun8-04, 03:45 PM
[nerdom ]Actually, writing a REAL random number generator would be
incredibly difficult.
Doing:
Label A
Rand(1,2)
Pause
Goto A
on your TI83 is not actually random :o


[/ultimate nerdom!!]
Flipping a coin is just as random, so it doesn't really matter, does it?

phatmonky
Jun9-04, 10:20 AM
Flipping a coin is just as random, so it doesn't really matter, does it?

No it is not.
Flipping a coin is truly random. Your hand, minute changes in the air, friction on the table, etc. all add to the randomness and none of those events will ever be perfectly replicated again.

A computer (I've read of some that are supposedly trying to actually generate real random numbers, but this isn't part of this conversation) does not actually generate a TRULY random number. It does not have the means to. I can explain more, but google will come up with a million links explaining why - but if you sit and think for a short moment, you will realize that there is no way for our conventional computers, and especially a TI-83, to truly generate a random number at this present time.

Here's a decent link quickly addressing the issue: http://www.cs.sunysb.edu/~skiena/jaialai/excerpts/node7.html

baffledMatt
Jun9-04, 03:25 PM
But you could argue that choosing the random seed is adding some element of true randomness into the problem (providing you don't know how the algorithm works so have no idea what seed will produce what result - maybe you should roll a dice? :uhh:). Of course, this only really holds if you only draw one random number so I guess "best of 3" is out of the question.

Hehe, this reminds me of something I read in Numerical Recipes:

One of us recalls producing a 'random' plot with only 11 planes [i.e. really bad], and being told by his computer center's programming consultant that he had misused the random number generator: "We guarantee that each number is random individually, but we don't guarantee that more than one of them is random." Figure that out.

:rofl:

Matt