Measurement
173
mag(complex a) returns sqrt(a.re
2
+a.im
2
)
phase(complex a) returns atan
2
(a) in degrees
pow(complex
a,complex b)
returns a to the power b
re(complex a)
returns the scalar part of a (zeroes the imaginary
part)
sin(complex a) takes a in radians and returns the sine
sqrt(complex a)
returns the square root of a, with phase angle in
the half-open interval (-π/2, π/2)
tan(complex a) takes a in radians and returns the tangent
Constants
e 2.71828182845904523536
PI 3.14159265358979323846
Mutual transformation is automatically made for scalar and
complex.
scalar(x) -> complex(x,0)
complex(x,y) -> scalar(x)
Operators used in Equation Editor
Operator Description
+ Addition
- Subtraction
* Multiplication
/ Division