Are there any examples satisfy the continuous function $f:\Bbb R\rightarrow \Bbb R$ such that the image of the closed interval $[0,\infty)$ under $f$ is the open interval $(-1,1)$..like $f([0,\infty))=(-1,1)$?
A picture is also ok.
Are there any examples satisfy the continuous function $f:\Bbb R\rightarrow \Bbb R$ such that the image of the closed interval $[0,\infty)$ under $f$ is the open interval $(-1,1)$..like $f([0,\infty))=(-1,1)$?
A picture is also ok.
Note that the function
$$g(x) = \frac{2}{\pi} \arctan{x}$$
is monotonically increasing, continuous, and tends to $1$ at infinity (the constant $2/\pi$ is included solely to make the range $[0, 1)$). It follows that something like
$$f(x) = \left(\frac 2 {\pi} \arctan{x}\right) \sin x$$
will have the desired property. It gets arbitrarily close to $\pm 1$, is continuous, but never reaches either.