Riemann sum of $\sin(x)$ I would like to calculate the Riemann sum of $\sin(x)$. Fun starts here:
$$R = \frac{\pi}{n} \sum_{j=1}^n \sin\left(\frac{\pi}{n}\cdot j\right)$$
What would be the simplest way to calculate the sum of $\sin\left(\frac{\pi}{n}\cdot j\right)$, so that one could proceed to evaluating the limit and thus getting the value of the Riemann sum, in other words - the integral? 
There maybe a way using $\mathbb{C}$?

Use
$$
  2 \sin\left(\frac{\pi}{2 n} \right) \sin\left(\frac{\pi}{n} \cdot j \right) = \cos\left( \frac{\pi}{2n} (2j-1) \right) - \cos\left( \frac{\pi}{2n} (2j+1) \right)
$$
Thus the sum telescopes $\sum_{j=1}^n \left(g(j) - g(j+1) \right) = g(1) - g(n+1) $:
$$
 R_n =\frac{\pi}{n} \sum_{j=1}^n \sin\left(\frac{\pi}{n} \cdot j \right) = \frac{\pi}{2 n \sin\left( \frac{\pi}{2n} \right)} \left( \cos\left( \frac{\pi}{2n} \right) - \cos\left( \frac{\pi}{2n} (2n+1)\right) \right) = \frac{\pi}{n} \cdot \frac{1}{\tan\left( \frac{\pi}{2n} \right)}
$$
The large $n$ limit is easy:
$$
 \lim_{n \to \infty} R_n = 2 \lim_{n \to \infty} \frac{\pi}{2 n} \cdot \frac{1}{\tan\left( \frac{\pi}{2n} \right)} = 2 \lim_{x \to 0} \frac{x}{\tan(x)} = 2
$$
