The Museum of HP Calculators


Run Test for Randomness for the HP-41C/CV/CX

This program is Copyright © HP and is used here by permission. It was originally printed in the Test Stats Solution Book. This program was entered and uploaded by Tony Duell.

This program is supplied without representation or warranty of any kind. Tony Duell, Hewlett Packard and The Museum of HP Calculators therefore assume no responsibility and shall have no liability, consequential or otherwise, of any kind arising from the use of this program material or any part thereof.

Documentation Information (CD or source code)
How to get this Program to your Calculator (via HP-IL, disk, wand, and fingers)
Download Binary (.raw) program for disk or PC HP-IL Card download
Download Hexadecimal (.dat) program for Serial Port download

Program Listing

LINE  KEYS
 01 LBL "RUNTEST"
 02 FIX 02
 03 "RUN TEST"
 04 AVIEW
 05 PSE
 06 "NO. OF RUNS ?"
 07 PROMPT
 08 STO 03
 09 "NO. OF TYPE1?"
 10 PROMPT
 11 STO 01
 12 "NO. OF TYPE2?"
 13 PROMPT
 14 STO 02
 15 *
 16 2
 17 *
 18 STO 07
 19 RCL 01
 20 RCL 02
 21 +
 22 STO 08
 23 /
 24 1
 25 +
 26 STO 04
 27 "MU"
 28 XEQ 11
 29 RCL 07
 30 RCL 08
 31 -
 32 RCL 07
 33 *
 34 RCL 08
 35 ENTER
 36 *
 37 RCL 08
 38 1
 39 -
 40 *
 41 /
 42 SQRT
 43 STO 05
 44 "SIGMA"
 45 XEQ 11
 46 RCL 03
 47 RCL 04
 48 -
 49 RCL 05
 50 /
 51 STO 06
 52 "Z"
 53 LBL 11
 54 "|-="
 55 ARCL X
 56 AVIEW
 57 STOP
 58 RTN
 59 END

Go back to the HP-41 software library
Go back to the general software library
Go back to the main exhibit hall