Post Reply 
Symb syntax error when pasting from command screen
11-25-2020, 06:32 PM (This post was last modified: 11-25-2020 06:33 PM by Han.)
Post: #2
RE: Symb syntax error when pasting from command screen
The lower case x in the CAS view is not the same as the upper case X used by the Function app. When typing in an expression, the Function app expects the formula to use upper case X because it uses the upper case X for its dummy variable. What you can do, however, is use the CAS view to use:

F1:=(x) -> x^2;

The -> is supposed to be the right arrow on the calculator. This stores a function (as opposed to an expression) into F1. The Function app then creates a proper expression from this function using its preferred dummy variable X (upper case).

Mathematical functions in the CAS view are created using the ( variables ) -> expression syntax. For example, a two-variable function can be created using:

f:=(x,y) -> x^2+y^2

and typing f(1,2) would produce 5 and typing f(a,b) would produce a^2+b^2 (in the CAS view).

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Symb syntax error when pasting from command screen - Han - 11-25-2020 06:32 PM



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