Sie sind auf Seite 1von 25

Fluid Dynamics MCEN90008

Computer Practical

Taylor Series Expansion


Introduced by Brook Taylor in 1715

Taylor Series Expansion

Eulers Method

Eulers Method

Eulers Method
Only takes the first order derivative of the
Taylors series expansion.

Eulers Method
Only takes the first order derivative of the
Taylors series expansion.

Eulers Method
Only takes the first order derivative of the
Taylors series expansion.

Matlab Exercise
Evaluate using Eulers Method

Eulers Method
When time step, h is big

x
Huge
Error !!

Eulers Method
When time step, h is small

Tiny
Error

Runge-Kutta Method
Developed around 1900 by German
mathematicians C. Runge and M. W.
Kutta.

Carl Runge

Martin Kutta

Runge-Kutta Method
General equation for the Runge-Kuta
Method for 1 variable can be written as-

Runge-Kutta Method
Example 2nd Order Runge-Kutta

Runge-Kutta Method
Example 2nd Order Runge-Kutta

Runge-Kutta Method
Example 2nd Order Runge-Kutta

Runge-Kutta Method
Example 2nd Order Runge-Kutta

Runge-Kutta Method
Example 2nd Order Runge-Kutta

Runge-Kutta Method
Example 2nd Order Runge-Kutta

Runge-Kutta Method
A predictor-corrector method

Runge-Kutta Method
A predictor-corrector method

x
Predictor
(Explicit)

Corrector
(Implicit)

Runge-Kutta Method

Matlab Exercise
Evaluate using RK4 Method

Matlab Exercise
Evaluate using RK4 Method
(System of ODE)

Matlab Exercise
RK4 Method (Appendix of Assignment)

Das könnte Ihnen auch gefallen