reverse Posted January 18, 2006 Posted January 18, 2006 How do you guys create a random number? ..and ensure that a number is truly random. By that I mean for example: a set of dice should be predictable if all the physical variables are calculated. So that would make dice not truly random.
the tree Posted January 18, 2006 Posted January 18, 2006 Well if you could actually predict all the physical aspects of a die then well done you. When it comes to computers it's often just some function based on the current time. If you want true randomness then Quantum Mechanics can help but that isn't exactly practical.
matt grime Posted January 18, 2006 Posted January 18, 2006 How do you guys create a random number? we qualify our statements to define random, and number, and then get a generator that provides statistically indistinguishable numbers from the ideal we so define.
Connor Posted January 19, 2006 Posted January 19, 2006 random number generators generates pseudorandom numbers I can't think of any way to create truly random numbers (as you define it, because dice aren't random enough I guess) other than with quantum mechanics of some sort.
JustStuit Posted January 19, 2006 Posted January 19, 2006 In my programming class in school we learned how the random numbers were just divisions by specified amounts of the time of the computer - which has about 7 decimal points if I remember correctly (these were old computers, I don't know if that matters). Even computers cannot yet create complete randomness.
chemfreak Posted January 19, 2006 Posted January 19, 2006 my texas instrument TI-83 plus calcumalator can if you go under apps and then go to prob sim. i no its not truly random but...
reverse Posted January 19, 2006 Author Posted January 19, 2006 Thanks guys. That’s what I thought. just checking.
YT2095 Posted January 19, 2006 Posted January 19, 2006 the way we used to do it was to use the real-time-clock register and parse that to become a seed value for the RND function. you`ll not get much more "random" than that
BhavinB Posted January 19, 2006 Posted January 19, 2006 I remember reading somewhere that you can generate a pseudorandom address of an internet data packet which is then used to create a pseudorandom number based on the data inside the packet.
YT2095 Posted January 20, 2006 Posted January 20, 2006 another Truly random generator method would be to use a white noise generator and then convert this signal with an A to D converter. the noise is made by electrons crossing the depletion zone of a PN junction, there no "Pattern" to it.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now