Lecture11 - Initial Value Problem Eulers Method
Lecture11 - Initial Value Problem Eulers Method
Statistics
Lecture 11:
Initial Value Problem: Euler’s Method
Objectives
Introduction
Euler’s Method
Convergence analysis
Error analysis
Error estimate
Solve ordinary
differential equations
of the form
dy
f ( x, y )
dx
• f ( xi , y i ) is the
estimate of slope at xi
• f ( xi , yi ) is the
differential equation
evaluated at xi and yi
20 24 12
Et (0.5) 2 (0.5) 3 (0.5) 4 2.03125
2 6 24
x yEuler Et
0.00000 1.00000 0.00000
0.50000 5.25000 -2.03125
1.00000 5.87500 -2.87500
1.50000 5.12500 -2.90625
2.00000 4.50000 -2.50000
2.50000 4.75000 -2.03125
3.00000 5.87500 -1.87500
3.50000 7.12500 -2.40625
4.00000 7.00000 -4.00000
Dr. M. Hrairi MTH2212 - Computational Methods and Statistics 15
Remarks about Euler’s Method