clear; close all;

dt=0.1;
x(1)=1; 
t(1)=0;
for i=2:floor(10/dt)
    t(i)=t(i-1)+dt;
    x(i)=x(i-1)+dt*x(i-1);
end

plot(t,x,'r')