4–12 Real–Number Functions
File name 32sii-Manual-E-0424
Printed Date : 2003/4/24 Size : 17.7 x 25.2 cm
Probability Menu
Press
{
[PROB] to see the PROB (probability) menu shown, in the following
table. It has functions to calculate combinations and permutations, to
generate seeds for random numbers, and to obtain random numbers from
those seeds.
PROB Menu
Menu Label Description
{
Q
,
T
} Combinations. Enter n first, then r (nonnegative
integers only). Calculates the number of possible sets
of n items taken r at a time. No item occurs more than
once in a set, and different orders of the same r items
are not counted separately.
{
Q
,
T
} Permutations. Enter n first, then r (nonnegative
integers only). Calculates the number of possible
arrangements of n items taken r at a time. No item
occurs more than once in an arrangement, and
different orders of the same r items are counted
separately.
{SD} Seed. Stores the number in x as a new seed for the
random number generator.
{R} Random number generator. Generates a random
number in the range 0
≤
x
<
1 (The number is part of
a uniformly–distributed pseudo–random number
sequence. It passes the spectral test of D. Knuth,
Seminumerical Algotithims, vol. 2, London: Addison
Wesley, 1981.)
The RANDOM function (executed by pressing {
}) uses a seed to generate a
random number. Each random number generated becomes the seed for the
next random number. Therefore, a sequence of random numbers can be
repeated by starting with the same seed. You can store a new seed with the
SEED function (executed by pressing {
}). If memory is cleared, the seed is
reset to zero.