Solver inside of HP basic
|
02-25-2015, 01:41 PM
(This post was last modified: 02-25-2015 01:53 PM by Angus.)
Post: #2
|
|||
|
|||
RE: Solver inside of HP basic
Hi,
Han has written a pretty good article about cas programming http://www.hpmuseum.org/forum/thread-3149.html. You might want to take a look at that. I am sure e is a reserved name so you won't be able to use it and there are at least a lot of typos in your code. Plus I am not sure if using capital Variables is advised. I never know if they will be treated symbolically or if their numerical value from home takes effect. For a local variable I think that should not happen, but I try to avoid single capital variables. I just can't get used to the home/cas thingy in the calculator. To make it short: a cas function would do it nicely and very straightforward: #cas kepler(mass):= BEGIN local vale:=0.15; ret_val:= solve(valE-sin(vale)-mass=0,valE); return ret_val; END; #end I left out angle. I don't know what it does. |
|||
« 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)