HP 12CP program discrepancy



#3

Greetings All:

I'm using the HP 12C Real Estate Applications Handbook and attempted to program the Mortgage Equity Analysis on page 48. This program doesn't directly address any registers, but it does use the STO and RCL functions. Anyway, punched it in and the output numbers wouldn't match up. Repunched with same output. Punched the same program into my 12C and no problem. What's happening here?


#4

Have you confirmed that you are in RPN mode?

12345 to delete


#5

I did confirm the RPN mode.

#6

Hi, Howlett;

would that be possible to digitize (scan) the program listings and at least one example so I could test it? I tried the MoHPC DVD and did not succeed finding this book there. I also look at the 'HP37E & HP38E/C Real Estate Applications', volumes I and II, and did not find an equivalent example.

If you agree with, please send the images to:

lcvieira (at) quantica (dot) com (dot) br

The (at) and (dot) are @ and . respectively, just a way to avoid scam.

Thanks.

Luiz (Brazil)

#7

That prog needs 4 extra lines to run on the newest HP12c platinum.
You need RDN after each of:

the FV at line 20, the n at line 22, and the i at line 24.

The PMT at line 25 needs repeating.

The reason is that this prog calculates "p" at line 17 and multiplies it by PMT at line 26 (here PMT is -1/sn).

On the old 12C this "p" is preserved in the Y register while FV and n are updated. The new 12cp does not disable stack lift after values are entered in financial registers, so we need the RDNs above. Or, the program could be re-written in other ways of course.

Hope this helps.

Cheers,
Tony


#8

Thank you Tony! I mistakenly assumed the only programming adjustment required was to add an extra 0 when directly addressing program line #'s. I'll try your method and update later.


Possibly Related Threads...
Thread Author Replies Views Last Post
  HP Prime: run a program in another program Davi Ribeiro de Oliveira 6 868 11-11-2013, 08:28 PM
Last Post: Davi Ribeiro de Oliveira
  38E/C, 12C, 12CP date arithmetic bug Katie Wasserman 26 1,840 10-19-2011, 08:57 PM
Last Post: Miguel Toro
  12c+ vs 12cp Erturk Kocalar 7 691 03-08-2011, 11:32 AM
Last Post: Marcus von Cube, Germany
  10bII, 12c, 12cp, 17b2+ ... these are the ones I see...Poll...how about you? Gene Wright 23 1,831 05-30-2010, 09:14 AM
Last Post: Don Shepherd
  Gamma (and Factorial) for 12C/12CP Les Wright 9 907 02-02-2009, 06:18 PM
Last Post: Egan Ford
  Gamma and Factorial for 10C/12C/12CP (thread hijack) Les Wright 1 392 01-28-2009, 08:19 PM
Last Post: Egan Ford
  Received new 12CP Anniversary Edition today, but... Stephen Easterling 6 695 04-22-2008, 12:28 PM
Last Post: Stephen Easterling
  HP-41 MCODE: Making an MCODE program call another MCODE program Geir Isene 10 1,104 01-13-2008, 05:58 AM
Last Post: Raymond Del Tondo
  What will replace the 25th anniversary HP 12cp? mk 5 585 03-31-2007, 05:23 PM
Last Post: Namir
  MAJOR RESULT DISCREPANCY; 50g vs. 41CX Edward J Pec 5 572 03-06-2007, 10:09 AM
Last Post: Palmer O. Hanson, Jr.

Forum Jump: