Show that the sequence defined as $$x_n = \sin\left(\frac{1}{n^2}\right)+\sin\left(\frac{2}{n^2}\right)+\cdots+\sin\left(\frac{n}{n^2}\right)$$ converges to $\frac{1}{2}$.
My attempt was to evaluate this limit by using squeeze theorem. I managed to show that $x_n < \frac{n+1}{2n}$ by using $\sin(x) < x$, but I haven't been able to find a sequence smaller than $x_n$ that also converges to $\frac{1}{2}$. I tried showing by induction that $x_n > \frac{1}{2}-\frac{1}{n}$, but I got nowhere with that.
Any help would be appreciated.