Post Reply 
WP 34S Solver
05-28-2015, 11:58 AM
Post: #22
RE: WP 34S Solver
(05-28-2015 04:19 AM)AnalogJoe Wrote:  Well as far as I know you only have to provide an initial guess, as opposed to the intervals of solution.

The 34s solver requires two initial guesses that should bracket the root. You enter them in X and Y (gueses1 [ENTER] guess2 [SLV] ...). This and more details can be found in the manual.

There are also PDFs around that show how to use the 34s for certain tasks, i.e. they offer more than just a function index, similar to like the classic HP manuals.

(05-28-2015 04:19 AM)AnalogJoe Wrote:  The WP 34s developers shed some light into this issue, but im pretty sure the Solver uses somekind of open method such as Newton-Rhapson, or similar..

The 34s uses a more sophisticated solver that is based on the Brent algorithm.

(05-28-2015 04:19 AM)AnalogJoe Wrote:  I have mixed feelings about these type of HP numeric solvers, on one hand they are extremely painful when it comes to solving polynomials because they will only find one particular root, and you have to constantly change your initial guess in order to find the different roots, at this point it is useful to remember Descartes rule of signs to get a better idea of what you should be looking for.

Especially for solving polynomials, both with real and complex coefficients, dedicated programs exists that will do the job. For instance, the 34s emulator comes with polyroot.wp34s. Some time ago in the old forum there was a vivid discussion on this kind of polynomial solver, and there was a quite good program by another poster. Sadly he chose to withdraw it, so it's no longer available.

(05-28-2015 04:19 AM)AnalogJoe Wrote:  Apparently there are programs available which address these issues on the 34s, but you need the dreaded flash cable to load them, something I have yet to build.

The emulator works without the "dreaded cable". ;-) And of course you can always enter any program manually into your 34s. Save it in flash memory and it's always there when you want it. A program listing can be found in the .wp34s file, or take a look at this thread in the old forum. Including some modifications suggested by myself. The final version by Miguel Toro can be found in the articles section. I think this is what you are looking for, so you should try it.

Example (from the linked thread):

Code:
x^4 - 4 x^3 - 3 x^2 + x + 1

=>          Compl 1   =
           -0,57898166378
   [x<>y]   0,22687379984
   [R/S]
            Compl 2   =
           -0,57898166378
   [x<>y]  -0,22687379984
   [R/S]
            Real 3    =
            0,56277097739
   [R/S]
            Real 4    =
            4,59519235018
   [R/S]
            0

Dieter
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)