cp1 - %ode45(f[0 24 u0%plot(t,A(t ode45'dU=...

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

View Full Document Right Arrow Icon
%f=inline('k*(A(t)-u(t))') % %A(t)=35-14*cos((3.14/12)*(tspan-3)); %w0=3.14/12; %u(0) = u0 tspan=[0 24];
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: %ode45(f, [0 24], u0) %plot(t,A(t)) % ode45('dU= k*((A_ambient)-u(t))','tspan','u(0)=u0')...
View Full Document

This note was uploaded on 01/24/2011 for the course ENGR 1020 taught by Professor Keith during the Spring '10 term at Utah State University.

Ask a homework question - tutors are online