I'm trying to prove that
$$\sum_{n=0}^N \cos(\pi n/N) = 0$$
when $N$ is large. I could make an integral that basically does the same thing:
$$\int_0^N \cos(\pi n / N) dn$$
$$=-\frac{N}{\pi}\left[ \sin(\pi n /N) \right]^N_0$$
$$=0$$
I'm just not sure how to go from the sum to the integral. Or do I even need to?