I was looking for examples of functions $f:\mathbb{R}\to\mathbb{R}$ such that for any $a>0$ we have that $[-1,1]\subseteq f\left([-a,a]\right)$
The two examples I could think of were $\sin(1/x)$ and $\cos(1/x)$. However, I was wondering if there are other, interesting examples of such a function? Perhaps ones not involving trigonometric functions? I'd be grateful for some suggestions.