Casio FX-7400GII - SOFTWARE VERSION 2-00 User Manual page 53

Software version 2.00
Hide thumbs Also See for FX-7400GII - SOFTWARE VERSION 2-00:
Table of Contents

Advertisement

Random Number Generation (RAND)
Random Number Generation (0 to 1) (Ran#, RanList#)
Ran# and RanList# generate 10 digit random numbers randomly or sequentially from 0 to 1.
Ran# returns a single random number, while RanList# returns multiple random numbers in list
form. The following shows the syntaxes of Ran# and RanList#.
Ran# [a]
RanList# (n [,a])
n
is the number of trials. RanList# generates the number of random numbers that
n
corresponds to
and displays them on the ListAns screen. A value must be input for
a
• "
" is the randomization sequence. Random numbers are returned if nothing is input for "
Entering an integer of 1 through 9 for
number.
• Executing the function Ran# 0 initializes the sequences of both Ran# and RanList#. The
sequence also is initialized when a sequential random number is generated with a different
sequence of the previous execution using Ran# or RanList#, or when generating a random
number.
Ran# Examples
Example
Ran#
(Generates a random number.)
(Each press of
number.)
Ran# 1
(Generates the first random number in
sequence 1.)
(Generates the second random number in
sequence 1.)
Ran# 0
(Initializes the sequence.)
Ran# 1
(Generates the first random number in
sequence 1.)
a
1
9
n
1
999
a
will return the corresponding sequential random
generates a new random
( )
(PROB)*
(Ran#)
( )
(PROB)*
(Ran#)1
(Ran#)0
(Ran#)1
2-15
n
Operation
(RAND)
(RAND)
II
* fx-7400G
:
.
a
".
(PROB)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents