Let $f:[0,\infty)\rightarrow R$ be a continuous function. If $\lim_{x\rightarrow+\infty} f(x)$ is finite, show that $f$ is uniformly continuous.
Also, can I change "$\lim_{x\rightarrow+\infty} f(x)$ is finite" to "$f$ is bounded" and get the same conclusion? Thank you!
hint
let $\epsilon > 0$, $\exists A > 0$ such that $|f(x) - L| < \frac{\epsilon }{2}$ for $x > A$
where $\lim_{x\rightarrow \infty} f(x) =L$
on$[0,A]$ $ f$ is uniformly contionuous