Post Reply 
WP43S linked to computer?
04-23-2014, 11:31 AM
Post: #10
RE: WP43S linked to computer?
(04-23-2014 09:37 AM)RMollov Wrote:  I have only one problem with the WP34s - the solver, SLV command is not as good as the HP one we know.

In what way is the 34S solver worse than HP's? The 34S solver is in some ways more sophisticated than HP's solver. It is different however. In particular, it won't give as tight error bounds most of the time, this is due to the methods being used.

HP's solver is essentially a slightly modified secant method. The 34S incorporates several methods. The primary one, Brent's method, chooses between bisection, secant and an inverse quadratic interpolation depending on the function evaluations -- in theory it will converge faster than a secant based method. The 34S will also attempt Ridder's steps after bisections which seemed to improve convergence when I did my testing.

Of course, as Walter wrote, you are free to implement your own solver -- it is a keystroke program whose source is in trunk/xrom/solve.wp34s. If you do implement a better solver, feel free to submit it -- we'll definitely consider its inclusion. Writing a solver is not a simple task however -- the 34S solver took several iterations and rewrites to get it to its current state. Still, this is an interesting area of numerical mathematics.

Personally, I'd like to eventually improve the integration code to incorporate a Gauss-Kronrod quadrature as the sub-step in the Romberg method instead of the naïve method used.

- Pauli
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: WP43S linked to computer? - walter b - 04-21-2014, 04:48 AM
RE: WP43S linked to computer? - RMollov - 04-22-2014, 08:30 AM
RE: WP43S linked to computer? - RMollov - 04-23-2014, 09:37 AM
RE: WP43S linked to computer? - walter b - 04-23-2014, 10:34 AM
RE: WP43S linked to computer? - RMollov - 04-24-2014, 06:32 AM
RE: WP43S linked to computer? - walter b - 04-24-2014, 06:41 AM
RE: WP43S linked to computer? - Paul Dale - 04-23-2014 11:31 AM
RE: WP43S linked to computer? - RMollov - 04-24-2014, 06:45 AM
RE: WP43S linked to computer? - brouhaha - 04-23-2014, 10:52 PM
RE: WP43S linked to computer? - Paul Dale - 04-24-2014, 07:19 AM
RE: WP43S linked to computer? - RMollov - 04-24-2014, 10:00 AM



User(s) browsing this thread: 3 Guest(s)