h=0.1 deff('y=f(y,t)','y = -y + t') y(1)=1 for k=1:2 y(k+1) = y(k) + h*(f(y(k),t(k))) end
Compartilhar