Random Number Functions - Casio fx-5800P User Manual

Casio calculator user's guide fx-5800p
Hide thumbs Also See for fx-5800P:
Table of Contents

Advertisement

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 specifi c range.
The following are the random number generation functions.
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
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 specifi ed by
the integer argument (1 through 9) of Ran#. The random numbers generated in accordance
with the argument are generated in a fi xed sequence.
n
Syntax: Ran#{
} (
Example: To generate sequential random numbers
Initialize the sequence:
Ran#, RanInt#(
The above values are provided for example only. The actual values produced
n
is an integer from 1 to 9.)
– {MATH} 6 (Ran#) 0
– {MATH} 6 (Ran#)
by your calculator for this function will be different.
E-49

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents