Does cos(1/x^2) diverge?

near x=0, yes. It oscillates faster and faster, and does not converge to any single value. In any interval (0,x) it assumes all values between -1 and 1.