The following warnings occurred:
Warning [2] Undefined array key 99856 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 99895 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $thread - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $fid - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 99895 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $theme - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $theme - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $lang - Line: 5 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 5 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Attempt to read property "messages_in_thread" on null - Line: 5 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 5 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks





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 2,809 11-25-2013, 10:28 AM
Last Post: Don Shepherd
  Touch periodic table on HP Prime - revisited Terje Vallestad 2 1,385 11-23-2013, 11:47 AM
Last Post: Mic
  A slide rule to conquer the moon revisited Palmer O. Hanson, Jr. 12 3,501 06-19-2013, 03:05 PM
Last Post: Ken Shaw
  HEPAX Revisited: Revision 1E available Ángel Martin 4 1,567 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 1,326 07-26-2012, 05:45 AM
Last Post: Les Koller
  Classic (HP-67) charger issues revisited Matt Agajanian 6 2,265 05-20-2012, 10:50 PM
Last Post: Matt Agajanian
  Woodstock/Spice Keyboard Cleaning Revisited Matt Agajanian 0 1,018 05-12-2012, 03:43 PM
Last Post: Matt Agajanian
  HP & TI in the 70's revisited Palmer O. Hanson, Jr. 1 1,204 05-12-2012, 02:17 PM
Last Post: John W Kercheval
  WP 34S: Power saving revisited Marcus von Cube, Germany 7 1,852 10-24-2011, 03:09 AM
Last Post: Marcus von Cube, Germany
  HP17BII+ Hardware - Atmel processor? Thomas Chrapkiewicz 4 1,749 10-16-2011, 11:32 PM
Last Post: JamesT

Forum Jump: