Polynomials solver for 42: WANTED
#1

Something like the "Solve Poly..." application of 48/49: given the coefficients, get the solutions...

Raul

#2

The translated HP-67 program you're trying to load and
run is far from optimal, or even efficient. Your best best
would be to get one from the former "HP-41C User's Library",
or even better, to look for one in the old issues of the
PPC Journal, available in CD-ROM.

If you do have or can get an HP-71B with a Math ROM,
this is the "program" that will do what you want,
particularized for a 100th-degree polynomial:


10 DIM P(101) @ COMPLEX R(100) @ MAT INPUT P @ MAT R=PROOT(P) @ MAT DISP R

I quoted "program" because you could easily execute that
from the command line, no need to enter a program. As
written, it does the following:

DIM P(101) dimensions a 101-element vector to hold
the 101 coefficients

COMPLEX R(100) dimensions a 100-element complex vector
to hold the 100 complex roots

MAT INPUT P prompts the user for each element. The
user can enter elements one by one or
several at a time, and can enter numbers
or expressions, even using variables
and functions

MAT R=PROOT(P) computes all 100 complex roots

MAT DISP R displays all roots

To make it general, just ask for the degree N, and then
use DIM P(N+1) and COMPLEX R(N) instead.

That's it. Amazingly simple and powerful !

#3

Thanks... but I've not a 71B.
It seems this calc has a PROOT. The 48 has it too, but not the 42, and that is what I'm looking for.

Raul

BTW: I didn't get the 67 prg works (or is veeery slow and I stop the prg before it finds the roots. But I am not sure even how to give it the coefficients)



Possibly Related Threads…
Thread Author Replies Views Last Post
  hp-prime solver and variable name fabrice48 22 8,126 12-10-2013, 03:25 AM
Last Post: fabrice48
  HP Prime Triangle solver BruceH 29 8,411 11-28-2013, 12:03 AM
Last Post: Dale Reed
  An easy course in using the HP16c-wanted- Frank 4 1,856 10-29-2013, 11:50 AM
Last Post: Mark Hardman
  Using units in Numeric Solver Harold A Climer 1 1,247 10-13-2013, 10:44 AM
Last Post: Tim Wessman
  HP-Prime Polynomials: User Guide and Request CompSystems 4 2,039 09-30-2013, 09:48 PM
Last Post: Han
  Does Prime Have a Multiple Equation Solver? Norman Dziedzic 2 1,345 09-20-2013, 09:43 AM
Last Post: Norman Dziedzic
  Just a lazy solver algortihm PGILLET 1 1,039 06-28-2013, 11:47 PM
Last Post: Namir
  HELP WANTED ON ALGORITHMS Joerg Woerner 19 4,863 04-27-2013, 12:56 PM
Last Post: Eric Smith
  [43s] : How the solver will be implemented Miguel Toro 3 1,558 03-14-2013, 06:09 PM
Last Post: Walter B
  HP 39gii Help Wanted: Inputting Strings in a Program Eddie W. Shore 0 837 02-09-2013, 02:17 PM
Last Post: Eddie W. Shore

Forum Jump: