Solver inside of HP basic
|
02-26-2015, 09:17 AM
(This post was last modified: 02-26-2015 09:18 AM by Thomas Ritschel.)
Post: #4
|
|||
|
|||
RE: Solver inside of HP basic
(02-25-2015 02:04 PM)Tim Wessman Wrote: Since this is just a plain numeric solving, just use the numeric solver command. FNROOT is what you are looking for. No other changes are needed in your first posted program. By changing Jan's code into the following I get "Kepler Error: Bad Guess(es)": Code: EXPORT Kepler() I also tried other variants, e.g. FNROOT('E-SIN(e)-M=0',E) or by providing some proper guess, but it keeps showing the error message. The problem may be caused by the use of local variables: By using the single letter HOME variables, e.g. by removing the LOCAL statement (and changing "e" into some other capital letter), the error message disappears. But then it's just printing "0" instead of the correct result... BTW.: I'm using the latest (?) calculator software version 6975. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Solver inside of HP basic - Powersoft - 02-25-2015, 01:06 PM
RE: Solver inside of HP basic - Angus - 02-25-2015, 01:41 PM
RE: Solver inside of HP basic - Tim Wessman - 02-25-2015, 02:04 PM
RE: Solver inside of HP basic - Thomas Ritschel - 02-26-2015 09:17 AM
RE: Solver inside of HP basic - Powersoft - 02-26-2015, 02:59 PM
RE: Solver inside of HP basic - Thomas Ritschel - 02-26-2015, 03:33 PM
RE: Solver inside of HP basic - Tim Wessman - 02-26-2015, 04:20 PM
RE: Solver inside of HP basic - Powersoft - 03-06-2015, 04:18 PM
|
User(s) browsing this thread: 1 Guest(s)