M374M
Homework #4
Logan.
Sections 2.1, 2.2:
p.87 print [p.158 ut ebook] (#3,51 ).
p.93 print [p.170 ut ebook] (#1a,1f,52 ).
1 Instead of the linearization, nd all equilibria; sketch the direction of solution curves in a small region around each equilibriu
Phase view: y vs x for various (x0,y0); a = 0 ; b = 1 ; c = 2 ; d = 0 ;
3000
2000
1000
y
0
1000
2000
3000
4000
5000
5000
4000
3000
2000
1000
x
0
1000
2000
3000
function dudt = F(t,u)
%
% Evaluates du/dt for the relationship model
%
% du1/dt = a u1 + b u2
% du2/dt = c u1 + d u2.
%
% Inputs: t = time
% u = system vector (2x1 array) where
% u(1)=u1=x, u(2)=u2=y.
%
% Output: dudt = derivative of system vector (2x1
%
% Program 7.
%
% A Matlab program that uses the built-in ODE solver
% 'ode45' (4th/5th order Runge-Kutta method) to solve
% the ballistic model.
%
% Here's how to get started:
%
% 1) Copy program7.m (this file) and ballistic.m
% into your working dir
%
% Program 4.
%
% A Matlab program that uses the built-in ODE solver
% 'ode45' (4th/5th order Runge-Kutta method) to solve
% the relationship model.
%
% Here's how to get started:
%
% 1) Copy program4.m (this file) and lovehate.m
% into your working d
M374M
Homework #5
Logan.
Sections 2.4:
1 Find
p.107 print [p.194 ut ebook] (#1e1 ,4f2 ,83 ).
all equilibrium solutions; sketch phase diagram in a small region around each.
can take any value; nd all equilibrium solutions; describe type and stability of e