Solve for x square root of 2sin(x)^2+cos(x)=0