Solver inside of HP basic
|
02-26-2015, 02:59 PM
Post: #5
|
|||
|
|||
RE: Solver inside of HP basic
(02-26-2015 09:17 AM)Thomas Ritschel Wrote:(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. I have modified the code a little bit, because it shoeld solved in radians. Still I get the same massage. After change this code EXPORT Kepler() LOCAL M=60*pi/180,e=0.15,X; X:=FNROOT(E-e*sin(E)-M,E); PRINT(X*180/pi); END; And change the line of FNROOT into X:=FNROOT(E-0.15*sin(E)-60*pi/180,E); than it working, this tells me that FNROOT is not able to use variable. Strange behavior. |
|||
« 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)