Arithmetic Operations

There are 5 mathematical operations 

+          addition

-           subtraction

*          multiplication

/           division

^          exponentiation

 

According to conventional rules, ArtSGraph first performs exponentiation, then multiplication and division and, finally addition and subtraction. To change order one should use brackets.

Two successive exponentiation are performed right-to-left. Two additions and/or subtractions are performed left-to-right. Two multiplications and/or divisions are also performed left-to-right.

 

Examples

a-b-c                is equivalent to (a-b)-c

a/b*c               is equivalent to (a/b)*c

a^b^2              is equivalent to a^(b^2)

a^2-b^2/a-b    is equivalent to a^2-(b^2/a)-b