HP prime (628 Views)
Occasional Visitor
Posts: 2
Registered: ‎02-14-2014
Message 1 of 4 (628 Views)

# HP prime

First off let me start by saying it's great to finally see HP providing a CAS to compete against Nspire, I hope the future will bing Mac versions of emulator, and connectivity  kit.

My question relates to Solve where on the Nspire you could type a formula using only variables, and and solve for solutions, a simple example could be law of ohm where Solve(u=r*i,i) would output i=u/r.

a similar attempt on the prime gives me Solve(0=0,0) Am I using the Solve() function wrong, and can this be done on the prime??

Valued Contributor
Posts: 111
Registered: ‎02-13-2014
Message 2 of 4 (576 Views)

# Re: HP prime

[ Edited ]

Hi!, jj2005:

Welcome, to Forum!.

Go to CAS view, then type in ...

solve(your_equation, your-variable)

solve(u=j*r,j)

Where ... for Ohm law ...

u = Tension, in VAC.

j = Intensity of current, in Amperes.

r = Resistance, in Ohms.

There is, the answer ... {u/r}

Caution: ... "i" ... it is, for reserved (complex) ... so use something, different instead. You can use "j" or other's.

Note: Miguel Angel Caporalini is, my previous ID and i'm Founder - Honored Contributor, with 2,392 posts and 406 kudos; but this, was banned, by HP.

Kind Regards.
Maké.
Occasional Visitor
Posts: 2
Registered: ‎02-14-2014
Message 3 of 4 (519 Views)

# Re: HP prime

Thanks a lot, the error was not very explaining, Does anyone knows of a list of all variables that are not useable???

Trusted Contributor
Posts: 114
Registered: ‎09-25-2006
Message 4 of 4 (506 Views)

# Re: HP prime

> Does anyone knows of a list of all variables that are not useable???

Yes: Nothing in the Toolbox Catalog (e.g. i , which is at the very bottom of the list) can be used as a variable, because all of these are PPL commands.  Also, nothing in the Program Editor's menus (Cmds and Tmplt) can be used as variables (e.g. KEY) because those are also PPL commands (although only used for programming).

You should also never use upper/lowercase variations on PPL commands as variables.  For example, Prime allows you to store into a CAS variable named "To", but that causes Prime to get confused when it executes the TO command.

So before creating any CAS variable, check the catalogs to see if it's a PPL command or an upper/lowercase variation of a PPL command.

Also, some variables are permanently defined by Prime and cannot be deleted, although their values can be changed.  I'm attempting to maintain a complete list of all the built-in variables HERE.

Hope that helps!

-Joe-
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.