Show that the bounded function $f(x) = \sin(x^2)$ is continuous, but not uniformly continuous, on the interval $[0,\infty)$.
The problem should be solved using the following definitions:
Definition of Continuous Function Let $X$ and $Y$ be metric spaces. We sat that a function $f:X\rightarrow Y$ is continuous if given any open set $V \subseteq Y$, its inverse image $f^{-1}(V)$ is an open subset of $X$.
Definition of Uniformly Continuous Function Let $(X,d_x)$ and $(Y,d_y)$ be metric spaces. If $E \subseteq X$, then we say that a function $f: X\rightarrow Y$ is uniformly continuous on $E$ if for every $\epsilon > 0$ there exists a $\delta > 0$ such that for all $x,y \in E$ we have $$d_x(x,y) < \delta \longrightarrow d_y(f(x),f(y)) < \epsilon$$
For the continuity part it is clear that $f^{-1}(a,b), (a,b) \subseteq (-1,1) = \{x:f(x) \in (a,b)\}$ which appears to be an open set however I doubt this is sufficient as a proof since it holds for any function $f$.
Not sure how to go about proving $f$ not uniformly continuous. Seems to be difficult to prove from the definition alone.