Rectangular and polar forms of complex numbers