Let $f:(0,\infty)\rightarrow \mathbb{R}$ be differentiable and $f'(t)\rightarrow 0$ as $t\rightarrow \infty$.
If $f(n)\rightarrow l$ as $n\rightarrow \infty (n\in \mathbb{Z})$, then $f(t)\rightarrow l$ as $t\rightarrow \infty$ ($t\in\mathbb{R})$.
I am currently stuck at this problem.
How to prove this? I am having difficulties relating the limit for integers and the limit for reals when $f'\rightarrow 0$.
Thanks in advance!
Let $\lfloor t \rfloor$ denote the largest integer smaller than $t$. In general, we have $$|f(t) - l| <|f(t) - f(\lfloor t \rfloor)| + |f(\lfloor t \rfloor) - l|.$$