The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

WP 34s Solve
Message #1 Posted by Richard Berler on 4 Apr 2013, 11:29 p.m.

I love how the WP 34s shows the value on screen of an integral as the iterations progress. It is neat to watch the answer converge on the final approximation. Would it be doable to implement this on solve on future upgrades (also emulator)?

      
Re: WP 34s Solve
Message #2 Posted by Walter B on 5 Apr 2013, 12:32 a.m.,
in response to message #1 by Richard Berler

Yes, in principle. In integration, however, there is a sum approaching the integral - in solving there is a function value aproaching zero or an x approaching the root. Which value do you want to see?

d:-)

            
Re: WP 34s Solve
Message #3 Posted by Paul Dale on 5 Apr 2013, 1:32 a.m.,
in response to message #2 by Walter B

Due to the algorithm used, solve doesn't necessarily approach the root directly. Once the root is bracketed, one estimate can stay the same and wildly incorrect while the other converges. It would take extra code to figure out which to display -- nothing too difficult of course. Look at trunk/xrom/solve.wp34s from the source repository.

Since the 34S is in bug fix only mode at the moment, I'm not planning on improving the solver. The source is available, thus, anyone can code an improved solver and submit it for inclusion.

- Pauli

                  
Re: WP 34s Solve
Message #4 Posted by Richard Berler on 5 Apr 2013, 10:21 a.m.,
in response to message #3 by Paul Dale

Thanks! That makes sense. The root that is being converged upon is what I think would be neat. Thanks for the explanation.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall