How do I add imaginary numbers

Write complex numbers in standard form
Use the rectangular keyword to write a complex number in the standard rectangular form a + bi.
PTC Mathcad assumes that all symbolic variables in an expression are complex. However, when you use the rectangular keyword, the variables are treated as real numbers. In this case, the answer is returned in the standard rectangular form a + bi, where a and b are the real and imaginary parts of the complex number, respectively. For example, evaluate the following complex conjugate number:
PTC Mathcad assumes that a and b are complex values, so the answer returns bars for complex conjugate numbers over a and b. However, if you add the rectangular keyword, PTC Mathcad assumes that a and b are real numbers. Therefore, the bars for complex conjugate numbers are removed and the complex conjugate number of i returns:
The rectangular keyword replaces the deprecated complex keyword, which will be removed in a future release of PTC Mathcad.
Related topics