Post Reply 
Proper way(s) to substitute X for x in a CAS expression
12-17-2013, 05:15 PM
Post: #3
RE: Proper way(s) to substitute X for x in a CAS expression
(12-17-2013 03:23 AM)Helge Gabert Wrote:  subst() does work for me.

e.g., subst(x^2-5,x='X') in CAS view returns the desired X^2-5.

Then, store it in one of the predefined function names F1, etc.

Thank you - yes I see where this substitutes X for x properly (I forgot the ' ' marks).

Unfortunately, when storing this in Function.F1 using

X^2-5 Sto> F1 or F1:=X^2-5

The expression is evaluated (using real X value) which results in a real value in F1, not the expression.

The f(x):=expression then F1:f steps are not too onerous for now.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Proper way(s) to substitute X for x in a CAS expression - CR Haeger - 12-17-2013 05:15 PM



User(s) browsing this thread: