% Solve The Initial-Value Problem Y' F (T, Y), X (A) Y0 % Using Euler's Method
% Solve The Initial-Value Problem Y' F (T, Y), X (A) Y0 % Using Euler's Method
feu.m:
function f =feu(t,y)
f = -0.02*exp(-0.05*t) + 0.09*exp(-0.1*t);
Command window:
euler('feu',0,60,0,60)