<s>[INST] Finding $\lim_{n\to\infty}\sum_{k=1}^n \sin(\frac\pi{\sqrt{n^2+k}})$ Find $$\lim_{n\to\infty}\sum_{k=1}^n \sin(\frac\pi{\sqrt{n^2+k}})$$
I think this has to be evaluated with riemann sums. I tried using $\sin x\approx x$ as n is big, but that got me to $\int_0^1 (1+1/x)^{-1/2}$ but that gives me the wrong answer. Any suggestions?
EDIT: I would like to see a solution with Riemann sums.
 [/INST] Use the inequality 
$$x - \frac{1}{6}x^3 \leq \sin x \leq x, \quad x \in [0, \pi/2).$$
For sufficiently large $n$, the summand satisfies:
$$\frac{\pi}{\sqrt{n^2 + k}} - \frac{1}{6}\frac{\pi^3}{(n^2 + k)^{3/2}} \leq \sin\left(\frac{\pi}{\sqrt{n^2 + k}}\right) \leq \frac{\pi}{\sqrt{n^2 + k}} \tag{1}.$$
For $k \in \{1, \ldots, n\}$, the right side bound in $(1)$ is bounded above by $\frac{\pi}{n}$, while the left side bound in $(1)$ is bounded below by
$$\frac{\pi}{\sqrt{n^2 + n}} - \frac{1}{6}\frac{\pi^3}{n^3}.$$
It thus follows that
$$\frac{n\pi}{\sqrt{n^2 + n}} - \frac{1}{6}\frac{\pi^3}{n^2} \leq \sum_{k = 1}^n\sin\left(\frac{\pi}{\sqrt{n^2 + k}}\right) \leq \pi.$$
By the squeeze principle, we conclude that
$$\lim_{n \to \infty} \sum_{k = 1}^n\sin\left(\frac{\pi}{\sqrt{n^2 + k}}\right) = \pi.$$
</s>