The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

HP Prime: CAS Variables - -How to save?
Message #1 Posted by Helge Gabert on 27 Oct 2013, 10:47 p.m.

Is there any way to permanently save the CAS variables, created in CAS view?

They show up in the memory and variable catalogs, respectively, but unfortunately disappear after clearing the CAS history.

      
Re: HP Prime: CAS Variables - -How to save?
Message #2 Posted by Michael de Estrada on 27 Oct 2013, 11:10 p.m.,
in response to message #1 by Helge Gabert

Just create them in Home view. They will be available in CAS and other views as User variables.

            
Re: HP Prime: CAS Variables - -How to save?
Message #3 Posted by Helge Gabert on 27 Oct 2013, 11:26 p.m.,
in response to message #2 by Michael de Estrada

No, maybe I didn't make myself clear.

In Home view I cannot create anything like

g(x):=x^2-x-1

but I can do that in CAS view.

Result (x)->(x^2-x-1).

Now, I can call the numerical solver, e.g.,

nSolve(g(x),x)

Result -.618...

Mem shows CAS Vars, g (Function)

The "Vars" key also shows g in CAS Vars ("All" and "Program").

However, g is gone, once I clear the CAS history. :((

(The reason I need to define g in CAS and not in Home is because a function defined in Home cannot be used with int, solve, nSolve, etc.).

I hope this is clearer now.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall