PDA

View Full Version : random numbers


YT2095
August 24th, 2003, 6:12 AM
does anyone here have an algorithm for random number generation?
I know there are analogue ways (electonic) to produce this. and various digital ways using shift registers to generate a number sequence that doesn`t reoccur till so many 1000 steps.
but is there an equasion/algorithm that will do this?

I considered the use of Pi, as that seems to go on forever. is there an algorithm to calculate Pi?

dave
August 24th, 2003, 8:46 AM
pseudo random number generation algorithms (or at least the more complex ones) use a seed (i.e. someone randomly typing keys on a keyboard/mashing it with their fist). I'll have a look later to see if I can find one for you.

YT2095
August 24th, 2003, 9:22 AM
thnx man, yer a good un :)