function res=F(x)

res=[0.5*cos(x(2))-x(1); 0.5*sin(x(1))-x(2)];
