O'Reilly logo

An Introduction to Numerical Methods and Analysis, 2nd Edition by James F. Epperson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 6

NUMERICAL METHODS FOR ORDINARY DIFFERENTIAL EQUATIONS

We are concerned here with the problem of solving differential equations, numerically. At first we concentrate on the so-called initial value problem (IVP): Find a function y(t) such that

equation

where f is a known function of two variables, and t0 and y0 are known values. This is called the initial value problem because (as the notation suggests) we can view the independent variable t as time, and the equation as modeling a process that moves forward from some initial time t0 with initial state y0. (Very often, t0 = 0.) The dependent variable y, the unknown function, may be a scalar function or, possibly, a vector function defined as

equation

In §2.3 we developed Euler’s method for approximating solutions to initial value problems; in this chapter we will not only review Euler’s method, but we will also look at more sophisticated (and therefore, we hope, more accurate) methods for solving this type of problem. Later we will tackle the boundary value problem (BVP), which can be written as

(6.1) equation

(6.2) equation

(6.3)

Here the unknown function is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required