HP17BII+ - L() & G() Revisited



#3

To avoid such erroneous results like described here:

http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/archv015.cgi?read=74485#74485

After executing the steps described below, everything worked fine on my unit - S/N: CNA42903649 produced on a Monday !!! 2004 Week 29 ...

1. Initialize ALL <variable-name> first before you use L(<variable-name>:...)

Example: INIT-L: 0*A*B* ... *Z=0

2. In SOLVER menu pres GOLD INPUT to CLEAR ALL VARIABLES!

(WARNING - BE CAREFUL HERE! EXIT IMMEDIATELY, TO NOT TO DELETE YOUR STORED EQUATIONS by incidently pressing function key two as well!)

3. Multiply each instance of L(<variable-name>:...) by ZERO to avoid side-effects within your equation.

Best regards,

Peter A. Gebhardt

Edited: 17 Sept 2006, 2:21 p.m.


#4

Because of the contribution of Tom Sears made on comp.sys.hp48

http://groups.google.com/group/comp.sys.hp48/browse_thread/thread/c8c609731204ffb2/8c4f5dab4ec718cf?lnk=gst&q=%22WHERE+command%22&rnum=3#8c4f5dab4ec718cf

I finally was able to emulate L() & G() on my HP49G+ ...

To test for yourself, take this example from Edition 2 of the HP17BII+ User Guide available here:

http://h10032.www1.hp.com/ctg/Manual/c00363348.pdf

On page 170 look for the description of L(x:expr):

(1+i)^N x PV +((1–(1+i)^N)/(1–(1+i))) x PMT+FV

It can be written as:

L(NP:1+i) x 0 + L(NPN:G(NP)^N) x PV + ((1-G(NPN)) / (1-G(NP))) x PMT + FV

On the HP49G+ change the last equation to:

<< 'NP x 0 + NPN x PV + ((1-NPN) / (1-NP)) x PMT + FV'
{'NPN = NP^N' 'NP = 1 + i' }
+ <<
SUBST
>>
STREAM STEQ 30 MENU
>>

Quote:
(18-Sep-2006, 9:48 GMT) Please be aware, that in { ... } order matters - "substitute" most complex first .... most simple last!

(18-Sep-2006, 16:46 GMT) Please be also aware, that the example TVM equation listed in the HP17BII+ User Guide, doesn't work the same as the Financial Solver! If you encounter differences in i then it might be due to limits in the solver. Set initial values for i to .0001 before you solve for i. Look here under Problem 2.

http://www.finseth.com/hpdata/timing.html


In my opinion, it's comparably easy to identify the respective L() & G() parts of the HP17 equation and put them into the list to be worked on by SUBST & STREAM.

Because I only tested with this readily available example, pls. comment once you have used the "algorithm" on your own HP17/19/200LX to HP49 migrations.

Best regards,

Peter A. Gebhardt

Edited: 18 Sept 2006, 12:25 p.m.


Possibly Related Threads...
Thread Author Replies Views Last Post
  17BII & 17BII+ Discounted Payback Period Revisited Tom Neudorfl 8 815 11-25-2013, 10:28 AM
Last Post: Don Shepherd
  Touch periodic table on HP Prime - revisited Terje Vallestad 2 366 11-23-2013, 11:47 AM
Last Post: Mic
  A slide rule to conquer the moon revisited Palmer O. Hanson, Jr. 12 1,015 06-19-2013, 03:05 PM
Last Post: Ken Shaw
  HEPAX Revisited: Revision 1E available Ángel Martin 4 437 05-03-2013, 01:57 PM
Last Post: Diego Diaz
  Calculators on youtube revisited:OT again, but is this a TI-92 Les Koller 2 317 07-26-2012, 05:45 AM
Last Post: Les Koller
  Classic (HP-67) charger issues revisited Matt Agajanian 6 547 05-20-2012, 10:50 PM
Last Post: Matt Agajanian
  Woodstock/Spice Keyboard Cleaning Revisited Matt Agajanian 0 253 05-12-2012, 03:43 PM
Last Post: Matt Agajanian
  HP & TI in the 70's revisited Palmer O. Hanson, Jr. 1 275 05-12-2012, 02:17 PM
Last Post: John W Kercheval
  WP 34S: Power saving revisited Marcus von Cube, Germany 7 500 10-24-2011, 03:09 AM
Last Post: Marcus von Cube, Germany
  HP17BII+ Hardware - Atmel processor? Thomas Chrapkiewicz 4 395 10-16-2011, 11:32 PM
Last Post: JamesT

Forum Jump: