HP Forums
Entering CAS expression into Parametric App - X1(T) - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Entering CAS expression into Parametric App - X1(T) (/thread-1016.html)



Entering CAS expression into Parametric App - X1(T) - CR Haeger - 04-01-2014 07:29 PM

Hello,

Id like to know if there are way(s) to enter or store an expression into the Parametric App that uses either CAS or User created variables? The UG shows Home/Real variables only.

For example, say I have the following CAS equation (eq1) saved

eq1:=xt = v0*cos(θm)*t

and I want to get the expression v0*cos(θm)*t saved/entered into X1(T) of the App. Also, Id like to substitute T for t.

I cant seem to do this by: entering directly into X1(T), copy/pasting or using Parametric.X1:=v0*cos(θm)*t. This last option does load the expression, but when I try to change t to T I get an error.

I was hoping to be able to do this as sometimes Id like to be able to use numerical results from other Apps or CAS in this Parametric App.

Best,
Carl


RE: Entering CAS expression into Parametric App - X1(T) - jte - 04-01-2014 11:04 PM

Have you tried something like X1 := t -> v0*cos(θm)*t? After the assignment, the system will automatically replace the bound variable t with T (in the definition of X1).


RE: Entering CAS expression into Parametric App - X1(T) - CR Haeger - 04-02-2014 02:06 PM

(04-01-2014 11:04 PM)jte Wrote:  Have you tried something like X1 := t -> v0*cos(θm)*t? After the assignment, the system will automatically replace the bound variable t with T (in the definition of X1).

Thanks - that seemed to do the trick! Specifically. in CAS:

g(t):=v0*cos(θm)*t // creates a CAS var/prog. g(t)
Parametric.X1:=g // loads g(T) into X1

I've used the above to get say f(x) into Function.F1 (X) before.