Post Reply 
Proper way(s) to substitute X for x in a CAS expression
12-20-2013, 09:07 AM
Post: #4
RE: Proper way(s) to substitute X for x in a CAS expression
Hello,

Quote: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.

Yes, in the same way that you would expect A:=1+2 to result in A=3 and not 1+2...

try using QUOTE (or '') as in:
F1:='X²-5', it will work...
QUOTE(input) (or 'input') stands for "do not evaluate what is inside" and is used just for that type of cases.

Merry xmass!
Cyrille
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 - cyrille de brébisson - 12-20-2013 09:07 AM



User(s) browsing this thread: 2 Guest(s)