HP-42S, Need TVM Programs?
#1

Where can I get the HP-42S TMV programs from? Any web site?

#2

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.

#3

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?

#4

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.



Possibly Related Threads…
Thread Author Replies Views Last Post
  HP Prime: Lists in programs Alberto Candel 7 3,453 12-04-2013, 02:16 AM
Last Post: Alberto Candel
  HP Prime: matrices in programs, in need of help Alberto Candel 9 3,174 11-26-2013, 01:33 AM
Last Post: cyrille de Brébisson
  Grouping programs on the HP Prime Michael de Estrada 11 3,661 11-04-2013, 01:38 PM
Last Post: Damien
  Transfering HP-85A Programs Gerry Schultz 5 2,561 10-17-2013, 12:30 PM
Last Post: Philip Reagan (Texas)
  TVM again ;-) fhub 17 4,756 09-02-2013, 11:03 AM
Last Post: fhub
  TVM WP34s trouble Jim P 4 1,723 06-28-2013, 07:31 AM
Last Post: fhub
  How do I upload to programs to HP 39GII ? Bernd Grubert 1 1,339 03-01-2013, 05:20 AM
Last Post: Bernd Grubert
  TVM-Solver for the PC fhub 14 3,876 12-26-2012, 03:24 PM
Last Post: fhub
  [WP34s] New TVM-solver version fhub 43 10,574 12-26-2012, 06:12 AM
Last Post: fhub
  [WP34s et al.] Solving the TVM equation for the interest rate Dieter 24 5,790 12-01-2012, 05:53 AM
Last Post: Paul Dale

Forum Jump: