Solver issue with HP 17BII - different from 19BII - Printable Version +- HP Forums (https://archived.hpcalc.org/museumforum) +-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html) +--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html) +--- Thread: Solver issue with HP 17BII - different from 19BII (/thread-257167.html) |
Solver issue with HP 17BII - different from 19BII - Jeff Kearns - 11-27-2013 I recently acquired a very nice HP 17BII (Singapore 1994), and like it very much - especially now that I have functions for TRIG and Inverse TRIG!
Source: W.B. Maguire II - Improved TRIG and INVERSE TRIG functions for the HP-17BII
I am not yet proficient in the use of the solver or its many interesting features that qualify it as a pseudo-programmable calculator with the L() and G() functions (LET and GET), IF structures and Sigma functions. However, I have noticed while copying some solver equations from my HP 19BII over to the 17BII, that it does not accept the same equation syntax as the 19BII, despite what Valentin Albillo quoted in a 2003 discussion: Quote:
The following equation for Canadian mortgages (right out of the 19BII Owner's Manual):
Instead, I have had to use this equation from the 17BII manual: How can I make the 19BII equation work in the 17BII? Thanks, Jeff
Edited: 27 Nov 2013, 11:43 a.m.
Re: Solver issue with HP 17BII - different from 19BII - Neil Hamilton (Ottawa) - 11-27-2013 Hi Jeff, The 17Bii does not have the entire suite of solver functions available in the 19B*. At one point I had a comparitive list of all the solver functions in the 17B*, 19B*, and 27S. However, I cannot seem to locate it at the moment. Maybe I compiled it myself from the various manuals -- don't recall. For the Canadian mortgage solver, you need to use equations presented in the 17B* manual. As you no doubt found, the 17B* is also missing many of the 19B*'s mathematical functions as well.
Re: Solver issue with HP 17BII - different from 19BII - Don Shepherd - 11-27-2013
Quote: Well, you can't, since the 17bii solver does not support the FV function (which is why the error occurs right where it did). Valentin is correct about L() and G(), but there are several 19bii solver functions that are not in the 17bii solver (including random number, unfortunately).
About all you can do is figure out exactly what the FV function does on the 19bii, and duplicate that in your equation.
Re: Solver issue with HP 17BII - different from 19BII - Jeff Kearns - 11-27-2013 Hi Neil, Thanks for your response. I am aware of the meager subset of math functions in the 17BII. Added Trig and inverse Trig functions (although no hyperbolics) make it quite useful for an engineer. I now understand why it cannot accept the relatively simple-looking equation for Canadian mortgages presented in the 19BII manual: while I get the lack of trigonometric functions, the 19BII solver TVM function FV(n:i%yr:pv:pmt:p/yr:m) is surprisingly absent from the 17BII list. Bottom line is: the solvers are definitely not identiacal.
Jeff
Re: Solver issue with HP 17BII - different from 19BII - Gerson W. Barbosa - 11-27-2013 Quote: The following might be faster - once verified - and accurate to at least eleven digits:
IF(S(SIN):(-1)^INT(X/180+0*L(X:MOD(X:180)*PI/180))*(2*SIGMA(K That's the equation in message #22 here. Still in my HP-17BII, but I don't think I would key all that in if somehow it got erased from memory :-)
Gerson.
Re: Solver issue with HP 17BII - different from 19BII - Jeff Kearns - 11-27-2013 Gerson, While I do not doubt the run-times, the mere fact that it is 48% longer (character count) than the three routines from Maguire make it unlikely I will spend an hour (or more) entering these 1145 characters to save a fraction of a second. Great work though... ;-) Cheers,
Jeff
Re: Solver issue with HP 17BII - different from 19BII - Jeff Kearns - 11-27-2013 Gerson, The ATAN equation from the W.B. Maguire link executes in about 5 seconds.
Jeff
Re: Solver issue with HP 17BII - different from 19BII - Kimberly Thompson - 11-27-2013 Jeff
NO argument w explanations already provided, however the TVM MENU QUESTIONS at the following URL ... Determining if the TVM menu can be used with the Solver (HP 19bii calculator) BLUF - the TVM functions are special when used in the SOLVER. BEST!
SlideRule
Re: Solver issue with HP 17BII - different from 19BII - Thomas Klemm - 11-27-2013 Guess how long it took me to enter the equation for the 8-queens problem?
Quote:
You could probably add the following: (N+CI%YR+PV+PMT+FV)*0+...
The variables are ordered according to their appearance in the equation. I can't check that right now but IIRC that's why I started with: QUEENS:
Cheers Re: Solver issue with HP 17BII - different from 19BII - Gerson W. Barbosa - 11-27-2013 "Only" 1117 characters, considering SIGMA is one-character long on the HP-17BII :-)
These Another SOLVER option, more akin to that on the HP-19BII, is the HP-200LX Solver. Regards,
Gerson.
Re: Solver issue with HP 17BII - different from 19BII - Gerson W. Barbosa - 11-27-2013 The delay is due to the ATAN position in the IF-structure. ATAN as an independent function would take no more than three seconds, I think.
Gerson.
Re: Solver issue with HP 17BII - different from 19BII - Don Shepherd - 11-27-2013 Jeff, why not just use the formula that is in the 17bII manual? If it works, as you say it does, and you can easily change the order of the arguments, why the objection to USPV and SPPV? I'm just curious.
Re: Solver issue with HP 17BII - different from 19BII - Jeff Kearns - 11-27-2013 Don, That is exactly what I decided to do. I was unaware of the FV(...) function issue in the 17BII. As for USPV and SPPV, I have no objection. I just did not understand initially why they were used instead of the more logical 19BII solver functions. Thanks,
Jeff
Re: Solver issue with HP 17BII - different from 19BII - Don Shepherd - 11-28-2013 OK, thanks Jeff.
|