function example m=5*2^4; h=5/m; t=0:h:5; y=func(t); plot(t,y); function d=func(x) d=exp(x/2).*sin(5*x);