De Moivre's formula is actually true for all
complex numbers
x and all
real numbers
n, but this requires careful extension of several functions to the complex plane. <--
Loisel I'm not so sure this makes any sense.
Thanks for pointing that out; n has to be an integer. x can be complex however, since Euler's formula
- e^(ix) = cos(x) + i sin(x)
works for all
complex x. --
AxelBoldt