k Random Number Functions

Your calculator comes with functions for generating ten-digit non-sequential random numbers, ten-digit sequential random numbers, or random integers within a specific range. The following are the random number generation functions.

Ran#, RanInt#(A Non-sequential Random Numbers (Decimal Values)

The following generates ten-digit non-sequential fractional numbers in the range of 0 to 1.

Syntax: Ran#Example: To generate ten-digit non-sequential random numbers

B

z – {MATH}6(Ran#)E

E

E

The above values are provided for example only. The actual values produced by your calculator for this function will be different.

A Sequential Random Numbers (Decimal Values)

In this case, ten-digit sequential random numbers are generated in the range of 0 to 1 in accordance with nine sequences numbered from 1 through 9. The sequence is specified by the integer argument (1 through 9) of Ran#. The random numbers generated in accordance with the argument are generated in a fixed sequence.

Syntax: Ran#{n} (n is an integer from 1 to 9.)Example: To generate sequential random numbers

B

Initialize the sequence:z – {MATH}6(Ran#)0E

E-49