|
|
|
|
|
Midpoint MethodIn numerical analysis, a branch of applied mathematics, the midpoint method is a one-step method for solving the differential equation -
numerically, and is given by the formula -
Here, is the step size — a small positive number, and is the computed approximate value of The name of the method comes from the fact that is the midpoint between at which the value of y(t) is known and at which the value of y(t) needs to be found. Derivation of the midpoint method The midpoint method is a refinement of the Euler's method -
and is derived in a similar manner. The key to deriving Euler's method is the approximate equality -
which is obtained from the slope formula -
and keeping in mind that For the midpoint method, one replaces (3) with the more accurate -
when instead of (2) we find -
One cannot use this equation to find as one does not know at The solution is then to use a Taylor series expansion -
which, when plugged in (4), gives us -
and the midpoint method (1). See also
|
 |
|
| Copyright 2005-2009 OnPedia.com. All Rights Reserved |
|
|