Skip to content

Syntax

The following general rules apply for the syntax of expressions in calculations:

  • Arithmetic operations are always written with a character between the arguments. For example, multiplication of a with b is written a * b. The * character can not be left out, as it is commonly done it Mathematics.
  • Variables and constants can consist of multiple characters. For example, the constant for the number Pi is named pi.
  • Whitespace characters between the individual parts of an expression are ignored by the CAS. For example, a * b is treated exactly the same as a*b.
  • Round brackets ( and ) can be used in expressions to control the order of evaluation.
  • Function applications must be written in the form sqrt(3). The round brackets can not be left out.