Casio fx-9860G Slim Calculator User Manual


 
2-16
RanList# Examples
Example Operation
RanList# (4)
(Generates four random numbers and
displays the result on the ListAns screen.)
*(E)(PROB)*(RAND)(List)
4U
RanList# (3, 1)
(Generates from the first to the third random
numbers of sequence 1 and displays the
result on the ListAns screen.)
)*(E)(PROB)*(RAND)
(List) 31U
(Next, generates from the fourth to the sixth
random number of sequence 1 and displays
the result on the ListAns screen.)
)U
Ran# 0
(Initializes the sequence.)
)(Ran#)0U
RanList# (3, 1)
(Re-generates from the first to the third
random numbers of sequence 1 and displays
the result on the ListAns screen.)
(List)31U
* fx-7400G
II: (PROB)
S Random Integer Generation (RanInt#)
RanInt# generates random integers that fall between two specified integers.
RanInt# (A, B [,n]) A < B |A|,|B| < 1
E10 B–A<1E10 1 n 999
• A is the start value and B is the end value. Omitting a value for
n returns a generated random
number as-is. Specifying a value for n returns the specified number of random values in list
form.
Example Operation
RanInt# (1, 5)
(Generates one random integer from 1 and
5.)
*(E)(PROB)*(RAND)(Int)
15U
RanInt# (1, 10, 5)
(Generates five random integers from 1 to
10 and displays the result on the ListAns
screen.)
*(E)(PROB)*(RAND)(Int)
1105U
* fx-7400GII: (PROB)
S Random Number Generation in Accordance with Normal Distribution
(RanNorm#)
This function generates a 10-digit random number in accordance with normal distribution
based on a specified mean ƫ and standard deviation Ʊ values.
RanNorm# (
Ʊ, ƫ [,n]) Ʊ >0 1 n 999
• Omitting a value for
n returns a generated random number as-is. Specifying a value for n
returns the specified number of random values in list form.