HP Prime programmable eq solver
|
01-04-2014, 11:04 PM
Post: #1
|
|||
|
|||
HP Prime programmable eq solver
Hello,
a first attempt in trying to create an equation library for the Prime. It has a lot of limitations. If you want to test it please create two lists: EQLIB:={"S=A*B", "S=A*B/2"} EQLIBNAME:={"Surface of a rectangle", "Surface of a triangle"} I created these list names just to prevent overwriting the L0-L9 by mistake. Anyway it was a good example for me to launch/use APPS like the SOLVE from the HPPL. Code:
As you can see i commented the REPEAT..UNTIL loop because there is no HALT..CONTINUE command like in the 48. When the solve APP is launched, the program doesn't stop showing a new session of CHOOSE before giving you the time to solve for a variable. Maybe here a GETKEY could do the trick. The other limitation is that i used only A...Z variables in order to avoid to declare the variable prior to RUN the program. There should be a way to retrieve a list of variables from a equation but i still didn't find it. Please suggest how i could improve it. I am sure it can be improved. Thanks Giancarlo |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
HP Prime programmable eq solver - Giancarlo - 01-04-2014 11:04 PM
RE: HP Prime programmable eq solver - LarsF - 01-05-2014, 01:15 PM
RE: HP Prime programmable eq solver - Giancarlo - 01-05-2014, 03:14 PM
RE: HP Prime programmable eq solver - LarsF - 01-05-2014, 03:27 PM
RE: HP Prime programmable eq solver - LarsF - 01-05-2014, 03:37 PM
RE: HP Prime programmable eq solver - LarsF - 01-06-2014, 09:47 AM
RE: HP Prime programmable eq solver - LarsF - 01-06-2014, 11:19 AM
RE: HP Prime programmable eq solver - Giancarlo - 01-06-2014, 08:09 PM
RE: HP Prime programmable eq solver - LarsF - 01-06-2014, 09:04 PM
|
User(s) browsing this thread: 2 Guest(s)