Where can I get the HP-42S TMV programs from? Any web site?
HP-42S, Need TVM Programs?
|
11-14-1999, 04:46 PM
11-14-1999, 06:27 PM
In the HP 42S manual, chapter 12, there is an example. Otherwise you may try programming the TVM equation for the solver. The equation is: 0=PV+(1+i*b)*PMT*((1-(1+i)**(-N))/i)+FV*(1+i)**(-N) where N,i,PV,PMT and Fv are the usual TVM variables, b is 1 for begin mode, b is 0 for end mode. I used the ** symbols to denote "power", since the forum does not allow too much for formatting To clarify this, in my notation 3**2 = 9. So the **(-n) means raising the previous expression to the negative nth power.
11-15-1999, 05:35 PM
Thanks for the information. Nonetheless, I remember that in one of the HP-42 programming examples, there was a listing of the TVM program. Any way I can get a copy of it?
11-25-1999, 04:38 AM
I don't know the one in the manual by heart, but this is *my* version, in my 42S: 00 { 72-Byte Prgm } 01#LBL "TVM" 02 MVAR "N" 03 MVAR "I%" 04 MVAR "PV" 05 MVAR "PMT" 06 MVAR "FV" 07 FC? 45 08 VARMENU "TVM" 09 RCL "PMT" 10 1 11 RCL "I%" 12 % 13 STO/ ST Z 14 + 15 FS? 00 16 STO* ST Y 17 RCL "N" 18 Y^X 19 RCL* "PV" 20 LASTX 21 1 22 - 23 R^ 24 * 25 + 26 RCL+ "FV" 27 END the ^ character represents the up-arrow Flag 00 controls payments at the beginning or end of period. FC? 45 tests whether the program is run from the Solver (in which case it displays the VARMENU) or not. Werner. |
« Next Oldest | Next Newest »
|