Here are some examples to illustrate syntax errors.
 > fsolve((1-x)/x^2),x);
 `)` unexpected
In this case, I made a typing error; there is an extra right parenthesis after the "2". Removing it fixes the problem.
 
 > fsolve((1-x)/x^2,x);
                                        1.
 
 > y : = sqrt(4);
 `=` unexpected
In this case, the problem is that the ":=" has a blank separating the ":" and the "=".
 
 > y := sqrt(4);
                                      y := 2
 
 > by:=3;
 `:=` unexpected
In this case, the problem is that the variable name "by" is a word reserved by Maple for another meaning. Here's a list of such reserved words:
by do done elif else end fi for from if in local od option options proc quit read save stop then to while

Please Wait...