Previous Up Next

6.10.1  The usual complex operators: + - * / ^

The +, -, *, /, ^ operators are the usual operators to perform addition, subtraction, multiplication, division and for raising to a power.
Input:

(1+2*i)^2

Output:

−3+4 i

Previous Up Next