Error, missing operator or ; - Maple Help

Home : Support : Online Help : Error, missing operator or ;

Error,  missing operator or ';'

 Description Typically, this error occurs in Worksheet mode using 1-D Math.  For example, multiplication requires a * sign. For more operators, see arithmetic operator. Also, all functions require parentheses around their arguments.

Examples

Example 1

 > 2 x + y; # Worksheet mode using 1-D Math.
 Error, missing operator or ;

Solution

 > 2*x + y;
 ${2}{}{x}{+}{y}$ (2.1)

Important: Implicit multiplication is permitted with 2-D Math input.

 >
 ${2}{}{x}{+}{y}$ (2.2)

Functions require parentheses around their arguments.

Example 2

 > cos x; # All functions require parentheses around their arguments.
 Error, missing operator or ;

Solution

 > cos(x);
 ${cos}{}\left({x}\right)$ (2.3)