EasyManua.ls Logo

HP HP-15C - Random Number Generator

HP HP-15C
288 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
48 Section 4: Statistics Functions
How many different four-card hands can be dealt from a deck of 52 cards?
Keystrokes
Display
52 v 4
4
Fifty-two (y) cards dealt four
(x) at a time.
|c
270,725.0000
Number of different hands
possible.
The maximum size of x or y is 9,999,999,999.
Random Number Generator
Pressing ´# (random number) will generate a random number
(part of a uniformly distributed pseudo-random number sequence) in the
range 0 r <1.
*
At initial power-up (including reset of Continuous Memory), the HP-15C
          
number sequence. Any time you generate a random number, that number
becomes the seed for the next random number. You can initiate a different
random number sequence by storing a new seed for the random number
generator. (Repetition of a random number seed will produce repetition of
the random number sequence.)
# will store the X-r < 1) as a new seed
for the random number generator. (A value for r outside this range will be
converted to fit within the range.)
# will recall to the display the current random number seed.
Keystrokes
Display
.5764
0.5764
Stores 0.5764 as random number seed.
(The ´ keystroke may be omitted.)
#
0.5764
´#
0.3422
Random number sequence initiated by the
above seed.
´#
0.2809
0.0000
*
Passes the spectral test (D. Knuth, The Art of Computer Programming. Vol. 2. Seminumerical Algorithms,
Third Edition, 1998).

Table of Contents

Other manuals for HP HP-15C

Related product manuals