%% Hetedik labor: Fixpont iterációk
x=1;
t=linspace(1,2); plot(t, sqrt(10-t.^3)/2,t,t)
hold on
for i=1:10
    plot(x, sqrt(10-x^3)/2,'r+')
    x=sqrt(10-x^3)/2;
end
%%
x=1;
t=linspace(1,2); plot(t, sin(t)+0.5,t,t)
hold on
for i=1:10
    plot(x, sin(x)+0.5,'r+')
    x=sin(x)+0.5;
end