Why does solver "iterate" when using S() function?



#3

Hi All,

I have a simple unit conversion formulas that I use on my HP17BII /HP17BII+ and decided to consolodate 3 of these into a single menu using the S() function. I have 2 nested IF(S(nnn)... functions, with a total of 3 equations:

LENGTH: IF(S(MM) OR S(INCH): MM * 0.03937007874 – IN: IF(S(M) OR S(FEET):M * 3.280839895 – FT : KM * 1.609344 - MILE))

The equation on the left most runs instantiously (mm-inch), while the two on the right iterate though the solution for some reason! On the 17BII, you get calculating, and the 17BII+ shows the min max iterations.

Run as stand-alone equations, they run instantly. Any ideas on how to fix this behavior?


#4

Shouldn't IN be INCH and FT be FEET in your formula? I think the KM/Mile conversion factor should be 0.621371192 (per Google anyhow).

The 17bii+ solver is going to use the iterative solver in situations where the 17b or 17bii solver would use the direct solver. I think Cyrille told me one time that that is due to memory constraints in the 17bii+. The 17bii does say CALCULATING but it derives a solution within a second or two; the plusses and the iterative solver take several seconds generally.

Edited: 28 Sept 2011, 8:50 p.m.


#5

You're right...I had fixed that after keying. The miles->km formula is calculating the reverse factor as it's keyed, so it works.

Disappointing that the plus is SO much slower than the older unit. Oh well. It does validate the equation faster, so not all is bad.


Possibly Related Threads...
Thread Author Replies Views Last Post
  HP50g: Writing a function that returns a function Chris de Castro 2 714 12-10-2013, 06:49 PM
Last Post: Han
  hp-prime solver and variable name fabrice48 22 2,778 12-10-2013, 03:25 AM
Last Post: fabrice48
  HP Prime Triangle solver BruceH 29 2,814 11-28-2013, 12:03 AM
Last Post: Dale Reed
  Using units in Numeric Solver Harold A Climer 1 427 10-13-2013, 10:44 AM
Last Post: Tim Wessman
  Does Prime Have a Multiple Equation Solver? Norman Dziedzic 2 455 09-20-2013, 09:43 AM
Last Post: Norman Dziedzic
  Just a lazy solver algortihm PGILLET 1 437 06-28-2013, 11:47 PM
Last Post: Namir
  [43s] : How the solver will be implemented Miguel Toro 3 615 03-14-2013, 06:09 PM
Last Post: Walter B
  TVM-Solver for the PC fhub 14 1,407 12-26-2012, 03:24 PM
Last Post: fhub
  [WP34s] New TVM-solver version fhub 43 3,872 12-26-2012, 06:12 AM
Last Post: fhub
  HP-Solver Mike (Stgt) 2 402 10-10-2012, 02:44 AM
Last Post: Mike (Stgt)

Forum Jump: