Expii

De Moivre's Theorem - Expii

De Moivre's formula, (cos(x) + i sin(x))^n = cos(nx) + i sin(nx), lets us easily raise a complex number (in polar form) to any power.