% ex_fix_point
% PURPOSE
% Make iteration scheme for solving non-linear equation
% f(x)=x-sin(x)+1/2 = 0

x=-2;
for i=1:1000
    x=sin(x)-0.5
end