The Museum of HP Calculators

# Incomplete Gamma Function for the HP-41C/CV/CX

This program is Copyright © HP and is used here by permission. It was originally printed in the HP-67 High Level Math Solution Book. This program was ported to the HP-41C by reading with the HP-41C card reader and the card reader may be required for operation of this program. 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 "INGAMMA"
02 LBL 10
03 LBL A
04 STO 01
05 STOP
06 LBL 11
07 LBL B
08 STO 03
09 STOP
10 LBL 14
11 LBL E
12 RCL 03
13 STO 07
14 0
15 STO 04
16 STO 08
17 1
18 STO 06
19 STO 05
20 CHS
21 STO 02
22 LBL 00
23 RCL 08
24 1
25 +
26 STO 08
27 RCL 01
28 -
29 ENTER
30 ENTER
31 RCL 04
32 *
33 RCL 05
34 +
35 STO 04
36 X<>Y
37 RCL 06
38 *
39 RCL 07
40 +
41 STO 06
42 0
43 X=Y?
44 GTO 09
45 +
46 /
47 LBL 09
48 STO 02
49 RCL 08
50 RCL 05
51 *
52 RCL 04
53 RCL 03
54 *
55 +
56 STO 05
57 RCL 08
58 RCL 07
59 *
60 RCL 06
61 RCL 03
62 *
63 +
64 STO 07
65 0
66 X=Y?
67 GTO 00
68 +
69 /
70 RCL 02
71 X<>Y
72 STO 02
73 X#Y?
74 GTO 00
75 RCL 03
76 RCL 01
77 Y^X
78 *
79 RCL 03
80 CHS
81 E^X
82 *
83 STOP
84 END
```