Random Integer Generation (Ranint#); Random Number Generation In Accordance With Normal Distribution - Casio FX-CG20 AU User Manual

Hide thumbs Also See for FX-CG20 AU:
Table of Contents

Advertisement

u Random Integer Generation (RanInt#)
RanInt# generates random integers that fall between two specified integers.
n
RanInt# (A, B [,
])
• A is the start value and B is the end value. Omitting a value for
number as-is. Specifying a value for
form.
RanInt# (1, 5)
(Generates one random integer from 1 and
5.)
RanInt# (1, 10, 5)
(Generates five random integers from 1 to
10 and displays the result on the ListAns
screen.)
u 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
RanNorm# ( ,
[,
• Omitting a value for
returns the specified number of random values in list form.
RanNorm# (8, 68)
(Randomly produces a body length value
obtained in accordance with the normal
distribution of a group of infants less than
one year old with a mean body length of
68cm and standard deviation of 8.)
RanNorm# (8, 68, 5)
(Randomly produces the body lengths of five
infants in the above example, and displays
them in a list.)
A < B
|A|,|B| < 1
n
Example
and standard deviation
n
1 <
n
< 999
])
> 0
n
returns a generated random number as-is. Specifying a value for
Example
10
B – A < 1
10
E
E
returns the specified number of random values in list
K6(g)3(PROB)4(RAND)2(Int)
1,5)w
K6(g)3(PROB)4(RAND)2(Int)
1,10,5)w
values.
K6(g)3(PROB)4(RAND)3(Norm)
8,68)w
K6(g)3(PROB)4(RAND)3(Norm)
8,68,5)w
2-19
1 <
n
< 999
n
returns a generated random
Operation
Operation
n

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx-cg10

Table of Contents