Post Reply 
(42S) TVM Program for HP 42S
05-25-2014, 07:34 PM
Post: #3
RE: TVM Program for HP 42S
This is my version.
Shorter, and also works for I%=0:

Code:
00 { 78-Byte Prgm }
01*LBL "TVM"
02 MVAR "N"
03 MVAR "i%"
04 MVAR "PV"
05 MVAR "PMT"
06 MVAR "FV"
07 MVAR "BEG"
08 RCL "i%"
09 X=0?
10 1 E-99
11 1
12 X<>Y
13 %
14 ENTER
15 LN1+X
16 RCL* "N"
17 E^X-1
18 STO+ ST Z
19 RCL* "PMT"
20 X<>Y
21 1/X
22 RCL+ "BEG"
23 *
24 X<>Y
25 RCL* "PV"
26 +
27 RCL+ "FV"
28 END

Cheers, Werner

41CV†,42S,48GX,49G,DM42,DM41X,17BII,15CE,DM15L,12C,16CE
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(42S) TVM Program for HP 42S - Ender - 05-23-2014, 11:02 AM
RE: TVM Program for HP 42S - Jeff_Kearns - 05-25-2014, 03:10 PM
RE: TVM Program for HP 42S - Werner - 05-25-2014 07:34 PM



User(s) browsing this thread: 1 Guest(s)