HP-17bII+ Solve Compatibility Issues



#8

After reading the interesting thread started by Gerson last week “A very long HP-17BII equation”, I’ve been exploring using advanced features of the HP-17bII+ solver (new, silver model), such as the LET() & GET() functions, and some of the other techniques noted in the “Technical Applications” manual for the HP-27S and HP-19B, which share the same Solver application as the -17 series. There are indeed problems using these features, as even basic sample programs from the manual cannot be duplicated. BTW, some pretty interesting stuff in this manual which greatly extends the power of this Solver if you have not checked it out (available on the Museum DVD, which I highly recommend to all).

After researching all the forum HP-17xxx archives and articles, I’ve found numerous references to the 17bII+ having solver incompatibilities and troubles, and also having issues with variable updates, etc. but generally without stating which HP-17bII+ version.

Also, although I’ve read that the LET and GET functions are not documented anywhere, in fact they ARE documented in the HP-17bII+ printed manual (I have a copy, Ed. 2, January 2004) as well as in the PDF version available from HP’s support website.

In summary, it appears these functions worked correctly on the 17B and 17BII but were not documented for these models, whereas they are documented, but do not work correctly on the 17bII+ models.

As I and many others really like the HP-17bii+ (silver model), I’d like to ask the forum experts to please clarify a few points so we can hopefully use this machine with confidence:

1. Is the “old” HP-17bII+ functionally identical to the “new” (silver) HP-17bII+? Differences?

2. Are the issues with using the LET() an GET() functions documented somewhere? Are there workarounds for these issues or are they simply buggy and unreliable?

3. What are the variable update limitations? Again, can it be used reliably with some precautions or is it just unpredictable?

4. I found a solver program by W. B. Maguire II, to calculate “Epsilon” on the 17 which uses the LET/GET functions, which generated the same result on my 17bII+ as on my 17BII, but surprisingly it was MUCH slower on the newer machine. I’ve read the new 17bII+ uses a newer, faster processor as compared to the prior 17 family members, in addition to the much larger RAM; is slower solver performance than the 20+ year older machines typical?

I’ve done some testing and am willing to continue to try to find these answers, but don’t want to waste time if these answers are known, and particularly not if the new machine is simply buggy and unreliable due to a poor port to the new h/w.

All comments are welcome.

--bob prosperi


#9

Is it realy an issue of SOLVE or just L() and G()? There are solver differences of HP-42S and Free42, but on HP's calculators (inlcuding HP200LX) the solvers are quite similar. So could you please show, where you found discrepancies? (Or give a hint or link where they are described.)

Ciao.....Mike

#10

Quote:
Is the “old” HP-17bII+ functionally identical to the “new” (silver) HP-17bII+? Differences?

Yes, they are exactly the same, solver functionality-wise.

Quote:
Are the issues with using the LET() an GET() functions documented somewhere? Are there workarounds for these issues or are they simply buggy and unreliable?

The issues are mostly just documented in the pages of this forum. There are some workarounds. For example, the equations in the Technical Applications Manual for the 27S and 19B for prime factors and least common multiple/greatest common divisor will not work on the 17bii+'s, although they work fine on the 17b and 17bii. I posted the workarounds in a thread many years ago. Let me know if you can't find that thread and I'll post them again.

Quote:
What are the variable update limitations? Again, can it be used reliably with some precautions or is it just unpredictable?

The short answer is that if you use the Let() function to update menu variables (that is, variables that appear in the menu) in your solver equation, you won't get the results you would expect. This is due to the fact that the 17bii+ solver does an extra evaluation pass while solving the equation, so your variables are actually updated twice, which causes erroneous results. If you never use the L() function to update a menu variable, you won't experience this problem.

Quote:
I found a solver program by W. B. Maguire II, to calculate “Epsilon” on the 17 which uses the LET/GET functions, which generated the same result on my 17bII+ as on my 17BII, but surprisingly it was MUCH slower on the newer machine. I’ve read the new 17bII+ uses a newer, faster processor as compared to the prior 17 family members, in addition to the much larger RAM; is slower solver performance than the 20+ year older machines typical?

Cyrille has said that the processor on the 17bii+'s is not as efficient as the processor in the original 17b's and bii's. This, coupled with the extra evaluation pass I mentioned above, accounts for the relative slowness of some equations on the plusses.


#11

Don:

Thanks for the detailed reply; my review of all the HP-17 articles in the archives and articles revealed you to be a true HP-17 fan, thanks for all your contributions.

Quote:

The issues are mostly just documented in the pages of this forum. There are some workarounds. For example, the equations in the Technical Applications Manual for the 27S and 19B for prime factors and least common multiple/greatest common divisor will not work on the 17bii+'s, although they work fine on the 17b and 17bii. I posted the workarounds in a thread many years ago. Let me know if you can't find that thread and I'll post them again.


Of course, the LCM/GCD is the sample program I started with on my silver 17bii+. Ahhh luck! I believe I have reviewed all the HP-17 archive threads and articles as noted, and though I have seen many references to workarounds existing, I have not been able to find the details themselves. Perhaps the answers were posted in a thread or aticle not containing "HP-17", since the subject solver is also in several others. Please do point me to the notes if you can or re-post when convenient.

Quote:

The short answer is that if you use the Let() function to update menu variables (that is, variables that appear in the menu) in your solver equation, you won't get the results you would expect. This is due to the fact that the 17bii+ solver does an extra evaluation pass while solving the equation, so your variables are actually updated twice, which causes erroneous results. If you never use the L() function to update a menu variable, you won't experience this problem.


By "...update menu variables..." are you referring to what the TAM calls 'formal' variables? Not exactly clear on what you mean by updating these variables within the L() function. Does this mean doing something like EQ=A+L(A:A+1)+....?

I also tried some basic things like changing 0xL(F:A*B)+... to L(F:A*B)x0... speculating that the bII+ parser may be dropping this part of the equation before the assignment since it is = 0, but this does not seem to have any affect, so bad guess.

I would appreciate any pointers you have on these things. I love this machine, and hope the workarounds don't make using the solver too tedious, as if it isn't already a bit so (though some of the trig equations I've seeb Gerson and others create for this machine are truly amazing and have convinced me that my pain tolerance entering equations without cut/copy/paste is apparantly quite low).

Thanks

--bob prosperi


#12

I think I must have deleted the article that described the workarounds for gcd/lcm and prime factors at some point. No problem, here is a pdf that has the contents of that article:

pdf file

Quote:
By "...update menu variables..." are you referring to what the TAM calls 'formal' variables? Not exactly clear on what you mean by updating these variables within the L() function. Does this mean doing something like EQ=A+L(A:A+1)+....?

Yes, formal variables. Yes, like loading A with A+1, that's the kind of thing that won't work on the plusses.

The TAM also says you can't exit a loop early; actually, you can as long as you want to end the program at that point! Just store the value of interest in a formal variable and do a divide by zero or log(0). The equation will terminate, but you can RCL the variable where you stored something right before the divide by 0 and the value will be there. I used this method for a prime factor finder that is much faster than the one in TAM (article).

I really enjoy investigating the "equation as program" possibilities of the 17b and 17bii solvers. I don't use my 17bii+ anymore because it's just too darned frustrating.




Edited: 23 Apr 2013, 9:29 a.m. after one or more responses were posted


#13

Quote:
I don't use my 17bii+ anymore because it's just too darned frustrating.

I don't mean to be mean, but...


#14

Yes, but under that beautiful exterior lies a solver that %$#@!*.

:)


edit: oh, I just noticed the minus!!


Edited: 22 Apr 2013, 10:07 p.m.


#15

There's always hope HP sees this, works overnight and comes up with a real 17II+ tomorrow morning :-)


Possibly Related Threads…
Thread Author Replies Views Last Post
  Solver issue with HP 17BII - different from 19BII Jeff Kearns 13 4,706 11-28-2013, 02:36 AM
Last Post: Don Shepherd
  17BII & 17BII+ Discounted Payback Period Revisited Tom Neudorfl 8 2,924 11-25-2013, 10:28 AM
Last Post: Don Shepherd
  9014B Sony Part Number Compatibility aj04062 0 976 11-08-2013, 05:59 AM
Last Post: aj04062
  XCas / Prime "solve" question Nigel J Dowrick 4 2,071 11-08-2013, 04:01 AM
Last Post: Nigel J Dowrick
  Re: [WP34S] Flashing Issues Les Wright 22 6,126 10-30-2013, 02:16 PM
Last Post: Les Wright
  Using the Prime to solve for eigenvalues Michael de Estrada 28 8,800 10-27-2013, 07:21 AM
Last Post: Tarcisi C
  HP Prime Define: Use with solve, etc. Helge Gabert 0 1,020 10-23-2013, 06:24 PM
Last Post: Helge Gabert
  Is the Prime a superset of the HP 17bII+ ? vrrr 3 1,655 10-16-2013, 12:03 PM
Last Post: Michael de Estrada
  Compatibility of new HP PRIME Cable Harold A Climer 8 2,972 10-13-2013, 01:14 PM
Last Post: Eric Smith
  HP 34s solve f'(x)=0 Richard Berler 8 2,623 10-07-2013, 03:03 PM
Last Post: Dieter

Forum Jump: