Hacettepe University Department of Environmental Engineering
Hacettepe University Department of Environmental Engineering
DEPARTMENT OF ENVIRONMENTAL
ENGINEERING
LECTURE 10
f(xi,yi)=-2*0+12*0-20*0+8.5=8.5
As a2=1/2,
a1=1-1/2=1/2
p1=q11=1
FINAL EQUATION
The midpoint method ( a2=1)
As a2=1
a1=0
p1=q11=1/2
Ralston’s method ( a2= 2/3)
As a2=2/3,
a1=1-2/3=1/3
p1=q11=3/4
Second Order Runge Kutta Examples
Use Heun’s method, the midpoint method and the
Ralston’s method to numerically integrate:
dy/dt= y*t^3-1.5*y
Solve with:
Euler’s method
Midpoint method
Fourth-Order Runge Kutta Method
NEXT TWO WEEKS
HW 5 ( 2-3 questions, it will be uploaded on Monday)
FINAL EXAM:
Please focus on ( there will be 5 questions):
- Taylor Series
- Gauss, Gauss-Jordan, Gauss-Siedel
- Numerical integration methods ( Trapezoidal rule,
Simpson’s rule..)
- Euler’s method, Runge Kutta methods…
-MATLAB