(29C) Accurate TVM for HP-19C/HP-29C
|
01-19-2014, 07:04 PM
(This post was last modified: 12-28-2015 02:38 PM by Jeff_Kearns.)
Post: #1
|
|||
|
|||
(29C) Accurate TVM for HP-19C/HP-29C
The HP-29C does not have the HP SOLVE functionality of later models starting with the HP-34C and implemented in the HP-15C, HP-41 Advantage module. This program combines the Equation Solver for the HP-19C/HP-29C published by Stefan Vorkoetter in the old software library with the accurate TVM code used in the HP-34C program, which does not have Recall Arithmetic, into a 71 line program effectively turning your HP-29C into a reliable financial calculator (insofar as standard TVM calculations are concerned).
Code:
Usage instructions: 1. Store 4 of the following 5 variables as follows, using appropriate cash flow conventions: N STO 1 --- Number of compounding periods I STO 2 --- Interest rate (periodic) expressed as a % B STO 3 --- Initial Balance or Present Value P STO 4 --- Periodic Payment F STO 5 --- Future Value and store the appropriate value (1 for Annuity Due or 0 for Regular Annuity) as B/E STO 6 --- Begin/End Mode. The default is 0 for regular annuity or End Mode. 2. Leave the floating variable un-stored, but enter two guesses (if desired), each followed by the ENTER key; and 3. Enter the floating variable register number followed by GSB 0 Example from the HP-15C Advanced Functions Handbook- "Many Pennies: A corporation retains Susan as a scientific and engineering consultant at a fee of one penny per second for her thoughts, paid every second of every day for a year. Rather than distract her with the sounds of pennies dropping, the corporation proposes to deposit them for her into a bank account in which interest accrues at the rate of 11.25 percent per annum compounded every second. At year's end these pennies will accumulate to a sum total = (payment) X ((1+i/n)^n-1)/(i/n) where payment = $0.01 = one penny per second, i = 0.1125 = 11.25 percent per annum interest rate, n = 60 X 60 X 24 X 365 = number of seconds in a year. Using her HP-15C, Susan reckons that the total will be $376,877.67. But at year's end the bank account is found to hold $333,783.35 . Is Susan entitled to the $43,094.32 difference?" 31,536,000 STO 1 (11.25/31,536,000) STO 2 0 STO 3 -0.01 STO 4 5 GSB 0 The HP-29C gives the correct result: $333,783.35. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(29C) Accurate TVM for HP-19C/HP-29C - Jeff_Kearns - 01-19-2014 07:04 PM
|
User(s) browsing this thread: 1 Guest(s)