Let $f:\mathbb{R} \to \mathbb{R}$ be a function such that $|f(x)| \leq x^2$ . Prove whether or not the function is continuous and differentiable at $x=0$.
Please tell me where am i wrong i have used the sandwich theorem :
$-x^2 \leq f(x) \leq x^2$, so $\lim_{x \to 0} f(x) = \lim_{x \to 0} x^2 = \lim_{x \to 0}(-x^2) = 0 $
also , $f(0)=0$
hence the function is continuous and differentiable