log(cos(x))/x^2=log(1-x^2/2+O(x^4))/x^2=(x^2/2+O(x^4))/(x^2)=1/2+O(x^2)