The Museum of HP Calculators


Reversible Polytropic Process for the HP-41C/CV/CX

This program is Copyright © HP and is used here by permission. It was originally printed in the Chemical Engineering 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 "GAS"
 02 FIX 02
 03 "N?"
 04 PROMPT
 05 STO 02
 06 1
 07 -
 08 STO 03
 09 1/X
 10 STO 04
 11 0.0
 12 STOP
 13 LBL "P2/P1"
 14 X=0?
 15 GTO 01
 16 STO 05
 17 0.0
 18 STOP
 19 LBL 01
 20 RCL 05
 21 "P2/P1="
 22 GTO d
 23 STOP
 24 LBL "V2/V1"
 25 X=0?
 26 GTO 01
 27 RCL 02
 28 CHS
 29 Y^X
 30 STO 05
 31 0.0
 32 STOP
 33 LBL 01
 34 RCL 05
 35 RCL 02
 36 CHS
 37 1/X
 38 Y^X
 39 "V2/V1="
 40 GTO d
 41 LBL "T2/T1"
 42 X=0?
 43 GTO 01
 44 RCL 02
 45 RCL 04
 46 *
 47 Y^X
 48 STO 05
 49 0.0
 50 STOP
 51 LBL 01
 52 RCL 05
 53 RCL 03
 54 RCL 02
 55 /
 56 Y^X
 57 "T2/T1="
 58 GTO d
 59 LBL "D2/D1"
 60 X=0?
 61 GTO 01
 62 RCL 02
 63 Y^X
 64 STO 05
 65 0.0
 66 STOP
 67 LBL 01
 68 RCL 05
 69 RCL 02
 70 1/X
 71 Y^X
 72 "D2/D1="
 73 LBL d
 74 ARCL X
 75 AVIEW
 76 STOP
 77 END

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