{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

ex6_5 - subplot(111 H=plot(t,y,t(1.5*cos(pi*t*cos(20*pi*t...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
% ex6.5 Tspan = 0:.2/500:5; y0 = 0; options = odeset('RelTol',1e-9,'AbsTol',1e-9); [t,y] = ode45('ex6_5d',Tspan,y0,options);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: subplot(111) H=plot(t,y,t,(1+.5*cos(pi*t)).*cos(20*pi*t),'--'); xlabel('Time (sec)')...
View Full Document

{[ snackBarMessage ]}