f(x)=x^2*cos(1/x) for x≠0, f(x)=1 for x=0