Calculator Function Refrence

Function Reference >Calculator Function Reference >Statistics>Random Functions

Random Functions

There are three functions used for generating random numbers.
  • rnd()
  • rint(a, b)
  • rseed(s)
rnd will generate a decimal number in the range of [0,1).
rint(a, b) will generate an integer in the range of [a,b].
rseed(s) will set the random seed to be the value of s. rseed() will always return 0.
rnd()=.5243605
seq(rint(1,6),x,1,10)={2,4,1,6,2,5,4,3,1,6}
rseed(10)