

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


AMATH 301 Due Thursday, 08/04/05 Homework #
MATLAB commands to learn: ode45, odeset
zยจ + z +
z^2 โ 1
zห = 0. (1)
This equation is often used to model electrical and physiological oscillations. Balthasar van der Pol first wrote about (1) in this context in 1926. Since then the van der Pol equation (1) has borne his name. For the purpose of this problem, assume that is a parameter whose (positive) value can be chosen arbitrarily.
(a) Given z = y 1 and หz = y 2 , show that the van der Pol equation can be written as the first order system
yห 1 = y 2 , yห 2 = โy 1 +
1 โ y 12
y 2 (2)
(b) For each of the values = 0.01, = 0.1, = 1, = 5 and = 10, use ode45 and the initial conditions z(0) = 1 and หz(0) = 0 to solve the van der Pol IVP on the interval 0 โค t โค 100. Plot each of the five solutions on a separate set of axes and use num2str to put the relevant value of somewhere on the plot.
(c) For each of the initial values z(0) = 10, z(0) = 5, z(0) = 2, z(0) = 0. 5 and z(0) = 0, use the second initial value หz(0) = 0, the parameter value = 1 and ode45 to solve van der Pol IVP on the interval 0 โค t โค 100. Plot each of the five solutions on a separate set of axes and use num2str to put the relevant values of and z(0) somewhere on the plot.
(d) Based on your calculations above, describe the way the shape of the solution changes when you keep the initial values fixed, but vary the parameter .
(e) Based on your calculations above, describe the way the shape of the solution changes when you fix and หz(0), but vary z(0).
D. Williams, Summer 2005 Page 1 of 2
AMATH 301 Due Thursday, 08/04/05 Homework #
(1 + x)yโฒโฒ^ + yโฒ^ = f (x), y(0) = 0, y(1) = 3. (3)
(a) The differential equation is said to be homogeneous when f (x) = 0. Use the shooting method to solve the homogeneous equation with the given boundary values.
(b) The differential equation is said to be inhomogeneous when f (x) 6 = 0. Suppose the inhomogeneous term is
f (x) = 150 cos (5ฯx) โ 15 x.
Use the shooting method to solve the inhomogeneous equation with the given boundary values.
(c) Now solve the homogeneous and inhomogeneous problems using the direct solve method discussed in class. Also follow the instructions below.
D. Williams, Summer 2005 Page 2 of 2