Calculate with complex numbers and complex quantities. Standard arithmetic and exponentation is supported.
Write imaginary numbers as: number i.
(3i+5)/(2i+9) // division
sqrt(-1) // square root
1i ^ 1i // complex exponentation
// impedance of 100 mOhm and 33 uH in parallel at 60Hz
Z_coil = 2i * pi * 60Hz * 33uH;
Z_res = 100 mOhm;
1/(1/Z_res + 1/Z_coil)