Question

$$\int _ { - \pi } ^ { \pi } \cos ^ { 2 } n x d x$$