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 4. IMPROVING ON EULER’S METHOD 81<br />

Thus the region of absolute stability for the Backwards Euler Method encompasses<br />

the entire complex plane outside the circle of radius 1 centered at the point (1, 0),<br />

as illustrated in figure 4.6.<br />

Figure 4.6: <strong>The</strong> gray area indicates the region of absolute stability for the Backwards<br />

Euler Method.<br />

<strong>The</strong> Backwards Euler Method is an example of an implicit method, because<br />

it contains y n implicitly. In general it is not possible to solve for y n explicitly as a<br />

function of y n−1 in equation 4.98, even though it is sometimes possible to do so for<br />

specific differential equations. Thus at each mesh point one needs to make some first<br />

guess to the value of y n and then perform some additional refinement to improve<br />

the calculation of y n before moving on to the next mesh point. A common method<br />

is to use fixed point iteration on the equation<br />

where k = y n−1 . <strong>The</strong> technique is summarized here:<br />

y = k + hf(t, y) (4.103)<br />

• Make a first guess at y n and use that in right hand side of 4.98. A common<br />

first guess that works reasonably well is<br />

y (0)<br />

n = y n−1 (4.104)<br />

• Use the better estimate of y n produced by 4.98 and then evaluate 4.98 again<br />

to get a third guess, e.g.,<br />

y (ν+1)<br />

n<br />

= y n−1 + hf(t n , y (ν)<br />

n ) (4.105)<br />

• Repeat the process until the difference between two successive guesses is<br />

smaller than the desired tolerance.<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!