11—Numerical Analysis 333Substitute this into the equation fory(0):
y(0) =∑N
k=1αk∑∞
n=0(−kh)ny(n)(0)
n!+h∑N
k=1βk∑∞
n=0(−kh)ny(n+1)(0)
n!.
This should be an identity to as high an order as possible. The coefficient ofh^0 gives
1 =
∑N
k=1αk. (40)The next orders are
0 =∑
kαk(−kh) +h∑
kβk0 =
∑
k1
2
αk(−kh)^2 +h∑
kβk(−kh)... (41)
N= 1is Euler’s method again.
N= 2gives
α 1 +α 2 = 1
α 1 + 4α 2 = 2(β 1 + 2β 2 )
α 1 + 2α 2 =β 1 +β 2
α 1 + 8α 2 = 3(β 1 + 4β 2 ).
The solution of these equations isα 1 =− 4 α 2 = +5 β 1 = +4 β 2 = +2y(0) =− 4 y(−h) + 5y(− 2 h) +h[
4 y′(−h) + 2y′(− 2 h)]
. (42)
To start this algorithm off, two pieces of information are needed: the values ofyat−hand at− 2 h. This is in
contrast to Runge-Kutta, which needs only one point.