You are on page 1of 1

PROBLEMA 3

function yp=Ed1(t,y)
yp=[y(2);2*y(2)-y(3)+cos(t)-sin(t);y(4);y(1)-8*y(2)+t-1];

>> [t,y]=ode23('Ed1',[1 5],[1;1.5;2;2.5]);

>> plot(t,y)

>> grid

You might also like