(\cos  x+i \sin  x)^n=\cos (n x)+i \sin (\text{nx}), n\in \mathbb{Z}