% Euler Method Example
n=8;
t0=0;
t1=1;
y0=1;
h=(t1-t0)/n;  
t(1)=t0;  
y(1)=y0;  
for i=1:n  
t(i+1)=t(i)+h;  
y(i+1)=y(i)+h*(t(i)+y(i));  
end;  
