HP (Hewlett-Packard) HP 33s Calculator User Manual


 
4–14 Real–Number Functions
File name 33s-English-Manual-040130-Publication(Edition 2).doc Page : 388
Printed Date : 2004/1/30 Size : 13.7 x 21.2 cm
Probability Functions
Factorial
To calculate the factorial of a displayed non-negative 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,
The Art of Computer Programming, vol. 2,
Seminumerical Algorithms
, London: Addison Wesley, 1981.)