I am trying to calculate the definitive integral by definition (with Riemann sum). $$\int_{\frac{-\pi}{2}}^{\frac{3\pi}{2}} (2\sin{(2x+\frac{3\pi}{2})}) \ dx$$
But during the process of calculating it I have troubles evaluating this finite sum:
$$\sum_{i=1}^{n} \sin({\frac{\pi}{2}+\frac{4 \pi i}{n}})$$
I would greatly appreciate if you could help me figure out a nice expression for this using high school techniques.