Assume that f is continuous on $[0,\infty)$ and $\lim_{x\to \infty} f(x)=0$ then f is uniformly continuous
Suppose that $f:\Bbb R\to \Bbb R$ is continuous and that $f(x)\to 0$ as $x\to \pm\infty.$Prove that $f$ is uniformly continuous.