I am trying to get the Fourier series for $\cos( \frac x2)$ from $[- \pi, \pi]$.
I know the general equation for a Fourier series. Since this is an even function, I know that the coefficients for $\sin(nx)$ are zero.
But I'm having difficulty solving for the coefficients for $\cos(nx)$. I know that I can't just say that the coefficient is $1$ when $n = \frac 12$, because $n$ is only integers.