Show that $f(x)$ is differentiable for real numbers [closed]

Show that $f$ is differentiable on $\mathbb{R}$ and give the value of $f'(x)$ for all $x$ in $\mathbb{R};$ justify any assertions you make. $$f(x)=\begin{cases}x^2\sin\left(\frac{1}{x^2}\right)\cos(x^4),\quad > &x\not=0 \\ 0, &x=0\end{cases}.$$

closed as off-topic by GEdgar, user99914, Math1000, Ethan Bolker, zz20sMay 17 '18 at 12:46

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – GEdgar, Community, Math1000, Ethan Bolker, zz20s
If this question can be reworded to fit the rules in the help center, please edit the question.

• Use the definition of the derivative (at the origin, elsewhere it's kinda clear). Observe that $-x^2\le f(x)\le x^2$, so the squeeze theorem bites. – Jyrki Lahtonen May 16 '18 at 12:18

For $x\neq 0$ we can calculate directly $f'(x)$.
For $x=0$ let consider the definition
$$f'(0)=\lim_{x\to 0}\frac{f(x)-f(0)}{x-0}=\lim_{x\to 0}\,x \sin\left(\frac{1}{x^2}\right)\cos(x^4)$$