integrate cos(2*k*x) cos^2(x) from -pi to pi