function priblijeniq1
    x0=0;
    y0=1;
    hold on
    grid on
    axis([x0,x0+2.5,y0,y0+5])
    %[T,Y]=ode15s(@ff,[x0,x0+5],y0);
    %[T1,Y1]=ode15s(@ff,[x0,x0-5],y0);
    %plot(T,Y,'k','LineWidth',2)
    %plot(T1,Y1,'k','LineWidth',2)
    x=x0:0.1:x0+5;
    function y=y_0(x)
        for k=1:length(x)
            y(k)=y0;
        end
    end
    function y=y_1(x)
        for i=1:length(x)
            if x(i)==x0
                y(i)=y0;
            else
            s=x0:(x(i)-x0)/50:x(i);
            y(i)=y0+trapz(s,ff(s,y_0(s)));
            end
        end
    end
    function y=y_2(x)
        for i=1:length(x)
            if x(i)==x0
                y(i)=y0;
            else
            s=x0:(x(i)-x0)/50:x(i);
            y(i)=y0+trapz(s,ff(s,y_1(s)));
            end
        end
    end
    function z=ff(x,y)
        z=y;
    end
    
    
    plot(x,y_0(x),'g',x,y_1(x),'g',x,y_2(x),'g')
    plotEuler

end

