21.04.2015 Views

The Computable Differential Equation Lecture ... - Bruce E. Shapiro

The Computable Differential Equation Lecture ... - Bruce E. Shapiro

The Computable Differential Equation Lecture ... - Bruce E. Shapiro

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 7. DELAY DIFFERENTIAL EQUATIONS 143<br />

<strong>The</strong> plot is then generated with<br />

methodOfSteps2p[g, t, 1, 10]<br />

We observe that the solution is a decaying oscillation, whereas the corresponding<br />

initial value problem without deal y would give a pure exponential decay. Thus the<br />

two solutions are qualitatively diffferent.<br />

7.3 Numerical Implementation of Method of Steps<br />

In this section we illustrate the numerical solution of a delay differential equation<br />

using the method of steps via several examples. <strong>The</strong>se examples illustrate that the<br />

solution of the DDE can vary radically by minor changes in the initial data or the<br />

parameters of the DDE, such as the size of the delay.<br />

We will begin with the example from the previous section:<br />

y ′ (t) = −y(1 − t) (7.64)<br />

y(t) = 1, −τ < t < 0 (7.65)<br />

One key drawback of the method of steps is that the step size must be an integral<br />

divisor of the delay. Thus for some integer n, we must have nh = τ. So long as there<br />

is only a single delay and the delay is not a function of time, we can get around this<br />

by automatically setting the mesh size based on the number of points we want to<br />

have in the mesh. For a fixed step size, this would give us h = n/τ with n an input<br />

parameter; for a variable step size, we would be limited to multiples of this step.<br />

c○2007, B.E.<strong>Shapiro</strong><br />

Last revised: May 23, 2007<br />

Math 582B, Spring 2007<br />

California State University Northridge

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!