The Runge Method PPT Slide
The Runge Method PPT Slide
Definition:
The Runge-Kutta method
Formula Detail:
Consider an ordinary differential equation dy /dx=f ( x , y) with the initial
condition y (x 0 )= y 0.
The formulae for Runge-Kutta methods are defined as follows.
1st order R-K method
The formula is defined as follows:
'
y 1= y 0 + h. f (x 0 , y 0 )= y 0 +h . y 0
k 2=h . f (x 0 +h , y 0 +k 1 )
Here,
k 1=h . f ( x 0 , y 0)
h k
k 2=h . f ( x 0 + , y 0 + 1 )
2 2
k 3=h . f ( x 0 +h , y 0+ 2 k 2−k 1 )
The R-K4 method is the most frequently used R-K method for solving
differential equations.
The Runge-Kutta method estimates y for a given position x. The local
truncation error, in this case, is of the order ofO ¿), whereas
the accumulated error is on the order ofO ¿),
Equations for calculating 4th order are stated below:
1
y 1= y 0 + (k 1+ 4 k 2 + k 3)
6
Here,
k 1=h . f ( x 0 , y 0)
h k
k 2=h . f ( x 0 + , y 0 + 1 )
2 2
( h
k 3=h . f x 0 + , y 0 +
2
k2
2 )
k 4=h. f ( x 0+ h , y 0+ k 3 )
k 4is
the slope at the end of the interval using y and k 3
Advantages and Disadvantages:
Example
' x− y
Find y (0.1) for y=
4
, y ( 0 )=1 with step length 0.1 using R-K4 method.
Solution:
k 2=h . f ¿
k 3=h . f ¿
k 4=h. f ¿
1
y 1=1+ ¿
6
y 1=0.9765
y (0.1 )=0.9765
The Runge Kutta method is particularly useful for solving complex systems of
differential equations. It is a higher-order method that can provide accurate
solutions even for stiff systems, which are systems that have widely varying
time scales and can be difficult to solve using other methods.
For example, in the field of astrophysics, the Runge Kutta method is used to
simulate the motion of planets and other celestial bodies. The method is used
to solve the differential equations that describe the gravitational forces
between the bodies and their motion through space.
In control theory, the Runge Kutta method is used to design and analyze
control systems that regulate the behavior of physical systems. The method is
used to solve the differential equations that describe the dynamics of the
system and to design controllers that stabilize the system and achieve desired
performance.
Overall, the Runge Kutta method is a powerful numerical technique that has
many applications in various fields of science, engineering, and mathematics.
Its accuracy, efficiency, and versatility make it an essential tool for solving
complex mathematical problems.