The Museum of HP Calculators


TVM for the HP-11C

This program is by David Botes and is used here by permission.

This program is supplied without representation or warranty of any kind. David Botes 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.

Overview

Finance : Annuities and Compound Amounts.
Program solves a variety of problems involving money time value.
The following variables can be input or output:
n : number of compounding periods.
PV : Present value of the cash flow.
FV : Future value of the cash flow.
PMT : Periodic payment,
The periodic interest “i” rate can be an input only.
Instructions
1. set user Mode.
2. Initialize the program “F” CLEAR “REG”.
3. Key in the periodic interest rate “i’ and press “A”
4. Press “R/s” to set ordinary or due annuity mode. 0.00 means due and 1.00 means ordinary.
5. Key in three known of the following values
a) “n” and press “B”.
b) “PV” and press “C”.
c) “PMT” and press “D”.
d) “FV” and press “E” 4. Calculate the unknown value
a) For “n” press “B” and “R/s”.
b) For “PV” press “C” and “R/s”.
c) For “PMT” press “D” and “R/s”.
d) For “FV” press “E” and “R/s”.
Register’s Usage
Reg 00: 1 or 1+i/100
Reg 01: n
Reg 02 : i(%)
Reg 03: PV
Reg 04: PMT
Reg 05: FV
RegO6: 1+i/100
Reg 07 : (1+i/100) raised to -n.
Reg 08: i/100

Listing

LN# Code      Description

001 42:21:11  LBL A
002 42:07:r2  FIX 2
003 00:44:r02 STO 02
004 42:21: 4  LBL 4
005 00:00:31  R/S
006 00:00:0   zero
007 43:06:r0  FS?0
008 00:00:1   one
009 43:05:r0  CF 0
010 00:43:40  x=0
011 43:04:r0  SF 0
012 00:22: 4  GTO 4
013 42:21:12  LBL B
014 00:44:r01 STO 01
015 00:00:31  R/S
016 00:32: 1  GSB 1
017 00:45:r05 RCL 05
018 00:43:36  LSTX
019 00:00:30  -
020 00:45:r03 RCL O3
021 00:43:36  LSTX
022 00:00:40  +
023 00:00:10  ÷
024 00:00:16  CHS
025 00:43:12  LN
026 00:45:r06 RCL 06
027 00:43:12  LN
028 00:00:10  ÷
029 00:44:r01 STO 01
030 00:43:32  RTN
031 42:21:13  LBL C
032 00:44:r03 STO 03
033 00:00:31  R/S
034 00:32: 1  GSB 1
035 00:32: 2  GSB 2
036 00:00:16  CHS
037 00:44:r03 STO 03
038 00:43:32  RTN
030 42:21:14  LBL D
040 00:44:r04 STO 04
041 00:00:31  R/S
042 00:00:1   one
043 00:44:r04 STO 04
044 00:32: 1  GSB 1
045 00:00:15  1/x
046 00:45:r03 RCL 03
047 00:32: 2  GSB 2
048 00:00:20  ×
049 00:00:16  CHS
050 00:44:r04 STO 04
051 00:43:32  RTN
052 42:21: 15 LBL E
053 00:44:r05 STO 05
054 00:00:31  R/S
055 00:32: 1  GSB 1
056 00:45:r03 RCL 03
057 00:00:40  +
058 00:45:r07 RCL 07
059 00:00:10  ÷
060 00:00:16  CHS
061 00:44:r05 STO 05
062 00:43:32  RTN
063 42:21: 1  LBL 1
064 00:00:1   one
065 00:45:r02 RCLO2
066 00:43:14  %
067 00:44:r08 STO 08
068 00:00:1   one
069 00:44:r00 STO 00
070 00:00:40  +
071 00:44:r06 STO 06
072 43:06:r0  FS?0
073 00:44:r00 STO 00
074 00:45:r01 RCLO1
075 00:00:16  CHS
076 00:00: 14 yx
077 00:44:r07 STO 07
078 00:00:1   one
079 00:00: 34 x⇔y
080 00:00:30  -
081 00:45:r04 RCL 04
082 00:45:r08 RCL 08
083 00:00:10  ÷
084 00:45:r00 RCL 00
085 00:00:20  ×
086 00:00:20  ×
087 00:43:32  RTN
088 42:21: 2  LBL 2
089 00:45:r05 RCL 05
090 00:45:r07 RCL 07
091 00:00:20  ×
092 00:00:40  +
093 00:43:32  RTN

Go back to the software library
Go back to the main exhibit hall