Professional Documents
Culture Documents
CISE301_Topic8L7 1
Nội dung chương 7
Lesson 1: Introduction to ODEs
Lesson 2: Taylor series methods
Lesson 3: Midpoint and Heun’s method
Lessons 4-5: Runge-Kutta methods
Lesson 6: Solving systems of ODEs
Lesson 7: Multiple step Methods
Lesson 8-9: Boundary value Problems
CISE301_Topic8L7 2
Lecture 34
Lesson 7: Multiple Step Methods
CISE301_Topic8L7 3
Outlines of Lesson 7
Solution of ODEs
Lesson 7:
Adam-Moulton Multi-step
Predictor-Corrector Methods
CISE301_Topic8L7 4
Learning Objectives of Lesson 7
Appreciate the importance of multi-step
methods.
Discuss advantages/disadvantages of
multi-step methods.
CISE301_Topic8L7 5
Single Step Methods
Single Step Methods:
Euler and Runge-Kutta are single step
methods.
Estimates of yi+1 depends only on yi and xi.
CISE301_Topic8L7 6
Multi-Step Methods
2-Step Methods
In a two-step method, estimates of yi+1
depends on yi, yi-1, xi, and xi-1
CISE301_Topic8L7 7
Multi-Step Methods
3-Step Methods
In an 3-step method, estimates of yi+1
depends on yi ,yi-1 ,yi-2, xi , xi-1, and xi-2
CISE301_Topic8L7 8
Heun’s Predictor Corrector Method
CISE301_Topic8L7 9
2-Step Predictor-Corrector
3 1
Predictor : y yi h f xi ,yi f xi 1,yi 1
0
i 1
2 2
1 1
Corrector : yi 1 yi h f xi 1 , yi 1 f xi ,yi
k k 1
2 2
CISE301_Topic8L7 11
4-Step Adams-Moulton Predictor-Corrector
Predictor : (Adams - Bashforth Predictor )
h 55 f ( xi , yi ) 59 f ( xi 1 , yi 1 )
y i01 yi
24 37 f ( xi 2 , yi 2 ) 9 f ( xi 3 , yi 3 )
CISE301_Topic8L7 13
Example
Solve
dy
2x y2 x y (0) 2
dx
h 0.1, Use 2 step Predictor corrector Method
compute y(0.4)
3 1
Predictor : y i01
yi h f ( xi , yi ) f ( xi 1 , yi 1 )
2 2
3
1
2.03 0.1 2(0.1) 2.032 0.1 0 0 2.1218
2 2
1 1
Corrector : y (0.2) y1i 1 0
yi h f ( xi 1 , y i 1 ) f ( xi , yi )
2 2
1
1
2.03 0.1 2(0.2) 2.12182 0.2 2(0.1) 2.032 0.1 2.1256
2 2
CISE301_Topic8L7 16
Multi-Step Methods
Single Step Methods
Euler and Runge-Kutta are single step
methods.
Information about y(x) is used to estimate
y(x+h).
Multistep Methods
Adam-Moulton method is a multi-step method.
To estimate y(x+h), information about y(x),
y(x-h), y(x-2h)… are used.
CISE301_Topic8L7 17
Number of Steps
At each iteration, one prediction step is
done and as many correction steps as
needed.