Polynomials solver for 42: WANTED « Next Oldest | Next Newest »

 ▼ R Lion (Spain) Senior Member Posts: 294 Threads: 32 Joined: Jul 2005 02-11-2003, 03:12 PM Something like the "Solve Poly..." application of 48/49: given the coefficients, get the solutions... Raul ▼ Ex-PPC member Member Posts: 142 Threads: 24 Joined: Jan 1970 02-12-2003, 04:19 AM 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 ! ▼ R Lion (Spain) Senior Member Posts: 294 Threads: 32 Joined: Jul 2005 02-12-2003, 10:02 AM 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 3,452 12-10-2013, 03:25 AM Last Post: fabrice48 HP Prime Triangle solver BruceH 29 3,432 11-28-2013, 12:03 AM Last Post: Dale Reed An easy course in using the HP16c-wanted- Frank 4 921 10-29-2013, 11:50 AM Last Post: Mark Hardman Using units in Numeric Solver Harold A Climer 1 532 10-13-2013, 10:44 AM Last Post: Tim Wessman HP-Prime Polynomials: User Guide and Request CompSystems 4 934 09-30-2013, 09:48 PM Last Post: Han Does Prime Have a Multiple Equation Solver? Norman Dziedzic 2 561 09-20-2013, 09:43 AM Last Post: Norman Dziedzic Just a lazy solver algortihm PGILLET 1 544 06-28-2013, 11:47 PM Last Post: Namir HELP WANTED ON ALGORITHMS Joerg Woerner 19 2,081 04-27-2013, 12:56 PM Last Post: Eric Smith [43s] : How the solver will be implemented Miguel Toro 3 739 03-14-2013, 06:09 PM Last Post: Walter B HP 39gii Help Wanted: Inputting Strings in a Program Eddie W. Shore 0 368 02-09-2013, 02:17 PM Last Post: Eddie W. Shore

Forum Jump: