Solve for x 2=4cos(x)^2+1