How does a computer program generate random numbers? Example: when you ask Siri to give you a random number between 1 to 10, how does it come up with that number?

738 viewsMathematicsOther

How does a computer program generate random numbers? Example: when you ask Siri to give you a random number between 1 to 10, how does it come up with that number?

In: Mathematics

18 Answers

Anonymous 0 Comments

In very basic terms, it takes the exact date&time down to the millisecond and calculates that down to the interval that is requested. However, if you know the exact math and time input used, you can recreate the result, making the system imperfect.

Nature is much better at randomness. Lavarand for instance is a system that uses live camera footage from lava lamps to create a random pattern. It’s still being used today.

You are viewing 1 out of 18 answers, click here to view all answers.