Random Numbers - HP 50g User Manual

Graphing calculator.

• PERM(n,r): Calculates the number of permutations of n items taken r at
a time
• n!: Factorial of a positive integer. For a non-integer, x! returns (x+1),
where (x) is the Gamma function (see Chapter 3). The factorial
symbol (!) can be entered also as the keystroke combination
~‚2 .
Example of applications of these functions are shown next:

Random numbers

The calculator provides a random number generator that returns a
uniformly distributed random real number between 0 and 1. To generate
a random number, use function RAND from the MTH/PROBABILITY sub-
The following screen shows a number of random numbers
produced using RAND. (Note: The random numbers in your calculator will
differ from these).
Additional details on random numbers in the calculator are provided in
Chapter 17 of the user's guide. Specifically, the use of function RDZ, to re-
start lists of random numbers is presented in detail in Chapter 17 of the
user's guide.
Page 15-2  