Jump to content

Recommended Posts

Posted

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.

Posted

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.

Posted
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.

Posted

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.

Posted

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.

Posted

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 :)

Posted

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.

Posted

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.

  • 4 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.