% pict.m
% 96/05/26
%
    t=(0:.01:1);
    y=2*exp(t)-t-1;
    plot(t,y,'w--');
    axis([0 1.2 0 4]);
    hold on;
    y1=1+t(1:51);
    y2=1.5+2*(t(51:101)-.5);
    plot(t(1:51),y1,'w-');
    plot(t(51:101),y2,'w-');
    plot([0],[1],'wo');
    plot([0.5],[1.5],'wo');
    plot([1],[2.5],'wo');
    text(.02,.8,'(t_0,v_0)');
    text(.45,1.2,'(t_1,v_1)');
    text(.9,2.1,'(t_2,v_2)');
    text(0.5,2.5,'exact');
    xlabel('t');
    ylabel('y');
    hold off;
