DICA
Use a forma de Moivre
Z
k
=
r
1 /n
{ cos [ (
q
+ 2k
P
) / n ] + i sen [ (
q
+ 2k
P
) / n ] }