Post Reply 
WP 34S Solver
05-28-2015, 06:07 PM (This post was last modified: 06-10-2015 11:29 AM by Marcio.)
Post: #25
RE: WP 34S Solver
(05-28-2015 03:52 PM)Pascal Wrote:  
(05-28-2015 04:27 AM)Marcio Wrote:  Try to find the roots for x^2-5*x+6 (2 and 3) and use 1 and 1.5 as initial guesses. You'll get an error. Oddly enough, if your guesses are greater than 3 (but not much!), the calc will return 3.
Hi Marcio,
That was a bug in the Solver algorithm that I mentioned some weeks ago. Pauli has updated the corresponding file, so your example should work with the next firmware version.
Pascal

Funny we used the same equation exactly. Anyways, in this POST from 2012, Pauli says the following:

Quote:The solver should stay within the two estimate IF they produce function evaluations of opposite signs. Otherwise, they are just used as a guide and it is free to wander outside.
The solver uses a quadratic interpolation step but this is guarded against going to far or encountering problems with either a secant or bisection step instead.
I have code to use Ridder's method after a bisection instead of the quadratic interpolation. This is supposed to be better but I never noticed enough of an improvement to justify its inclusion and so it isn't included in the build.
- Pauli

Meaning the method is not restricted to regula falsi. I don't know if they were able to take a look at this bug though.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
WP 34S Solver - AnalogJoe - 05-26-2015, 07:36 PM
RE: WP 34S Solver - Dieter - 05-26-2015, 07:58 PM
RE: WP 34S Solver - fhub - 05-26-2015, 08:43 PM
RE: WP 34S Solver - Dieter - 05-26-2015, 08:49 PM
RE: WP 34S Solver - fhub - 05-26-2015, 09:02 PM
RE: WP 34S Solver - AnalogJoe - 05-26-2015, 09:06 PM
RE: WP 34S Solver - Tim Wessman - 05-26-2015, 08:22 PM
RE: WP 34S Solver - AnalogJoe - 05-26-2015, 09:04 PM
RE: WP 34S Solver - Tim Wessman - 05-26-2015, 09:13 PM
RE: WP 34S Solver - AnalogJoe - 05-26-2015, 09:18 PM
RE: WP 34S Solver - emece67 - 05-27-2015, 09:08 AM
RE: WP 34S Solver - Thomas Klemm - 05-26-2015, 09:18 PM
RE: WP 34S Solver - rprosperi - 05-26-2015, 10:51 PM
RE: WP 34S Solver - Marcio - 05-27-2015, 12:17 AM
RE: WP 34S Solver - AnalogJoe - 05-27-2015, 04:26 AM
RE: WP 34S Solver - Marcio - 05-27-2015, 05:16 PM
RE: WP 34S Solver - AnalogJoe - 05-28-2015, 03:44 AM
RE: WP 34S Solver - Marcio - 05-28-2015, 04:03 AM
RE: WP 34S Solver - AnalogJoe - 05-28-2015, 04:19 AM
RE: WP 34S Solver - Marcio - 05-28-2015, 04:27 AM
RE: WP 34S Solver - Pascal - 05-28-2015, 03:52 PM
RE: WP 34S Solver - Marcio - 05-28-2015 06:07 PM
RE: WP 34S Solver - Dieter - 05-28-2015, 11:58 AM
RE: WP 34S Solver - Marcio - 05-28-2015, 12:45 PM
RE: WP 34S Solver - Paul Dale - 05-27-2015, 09:57 AM



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