cosnθ in terms of cos(kθ) | De Moivre's Theorem