Let [imath]f:[0,1]\to\mathbb{R}[/imath] be a continuous function. Evaluate [imath]\lim_{n\to\infty} \frac{1}{n}\sum_{k=1}^n (-1)^k f\left(\frac{k}{n}\right)[/imath].
I tried to estimate [imath]1 \le k \le n \implies 0<\frac{1}{n} \le \frac{k}{n} \le 1[/imath] and so, by the continuity hypothesis, [imath]f[/imath] is continuous at [imath]k/n[/imath] for any [imath]k=1,2,\dots,n[/imath] and for any [imath]n\in\mathbb{N}[/imath], however this hasn't helped me to estimate the summation with the continuity in a useful way. Can I have a hint?
I tried to estimate [imath]1 \le k \le n \implies 0<\frac{1}{n} \le \frac{k}{n} \le 1[/imath] and so, by the continuity hypothesis, [imath]f[/imath] is continuous at [imath]k/n[/imath] for any [imath]k=1,2,\dots,n[/imath] and for any [imath]n\in\mathbb{N}[/imath], however this hasn't helped me to estimate the summation with the continuity in a useful way. Can I have a hint?