
\[\cos n\theta+\mathrm{i}\sin n\theta=(\cos\theta+\mathrm{i}\sin\theta)^{n},\]