I was doing an exercise on complex numbers, most of which was about finding the moduli and the arguments of complex numbers of the form

and

(m and n integers). I had to first convert them into the polar form, use De Moivre's theorem, and then use the fact that the quotient of two complex numbers is their moduli divided and arguments subtracted, and that the product of two complex numbers is their moduli multiplied and their arguments added. After finishing, I thought that someone kind of a formula that gives the moduli and the argument straight away would be quite nice.

I have found that if

[LaTeX ERROR:
Compile failed]
, (

and

integers), then

, and

, where

[LaTeX ERROR:
Compile failed]
and

[LaTeX ERROR:
Compile failed]
.

Because:

=

Similarly, if

, then

and

, where again

[LaTeX ERROR:
Compile failed]
and

[LaTeX ERROR:
Compile failed]
.

Because:

=

.

Is what I have done correct?