Jump to content



Photo
- - - - -

Random numbers


  • Please log in to reply
2 replies to this topic

#1 Nevergonnaquizyouup

Nevergonnaquizyouup

    Newbie

  • Members
  • Pip
  • 1 posts

  • Calculators:
    Casio fx-991EX classwiz

Posted 16 January 2019 - 03:18 PM

How do calculators create random numbers? Surely they can't be true random numbers, so where do they get them from? Is there a formula and if so what is it?

#2 piu58

piu58

    Casio Addict

  • Members
  • PipPipPip
  • 83 posts
  • Gender:Male

  • Calculators:
    Casio fx-9860G, Casio fx-CG20

Posted 16 January 2019 - 07:10 PM

https://en.wikipedia...ntial_generator



#3 Viliami

Viliami

    Casio Addict

  • Moderator
  • PipPipPip
  • 96 posts
  • Gender:Male
  • Location:New Zealand
  • Interests:C++ - OpenGL,SDL
    Python - Pygame
    Java - SFML
    C - Casio SDK

  • Calculators:
    FX-9750 GII upgraded to FX-9860 GII

Posted 16 January 2019 - 11:13 PM

It's not truly random. The random number is usually based off the current timestamp which is why it changes everytime you run it. 






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users