4–14 Real–Number Functions
File name 33s-E-Manual-1008-Publication(1st).doc Page : 386
Printed Date : 2003/10/8 Size : 13.7 x 21.2 cm
Probability Functions
Factorial
To calculate the factorial of a displayed positive integer x (0
≤
x
≤
253), press
¹
*
(the left–shifted
,
key).
Gamma
To calculate the gamma function of a noninteger x,
Γ
(x), key in (x – 1) and press
¹
*
. The x! function calculates
Γ
(x + 1). The value for x cannot be a negative
integer.
Probability
Combinations
To calculate the number of possible sets of n items taken r at a time, enter n first,
¹
x
, then r (nonnegative integers only). No item occurs more than once in a
set, and different orders of the same r items are not counted separately.
Permutations
To calculate the number of possible arrangements of n items taken r at a time, enter
n first,
¹
{
, then r (nonnegative integers only). No item occurs more than
once in an arrangement, and different orders of the same r items are counted
separately.
Seed
To store the number in x as a new seed for the random number generator, press
º
§
.
Random number generator
To generate a random number in the range 0
≤
x
<
1, press
º
©
. (The
number is part of a uniformly–distributed pseudo–random number sequence. It
passes the spectral test of D. Knuth, Seminumerical Algorithms, vol. 2, London:
Addison Wesley, 1981.)