t=0; dt=0.1; x=0:0.01:10; for i=1:10 t=t+dt; y(i)=sin(x)*t; %error end