RUNGE-KUTTA 4th ORDER METHODINTERACTIVE E-BOOK |
Ordinary Differential Equations |
MAJORGENERAL |
On non Internet
Explorer browsers, the equations may not show up.
As an alternative or if you
prefer,
you can see the pdf version of the ebook instead
Title |
An interactive e-book for illustrating Runge-Kutta 4th Order Method of solving ordinary differential equations |
|
Creator |
Autar K Kaw |
|
Subject and Keywords |
Runge-Kutta 4th Order Method, Ordinary Differential Equations, Mathcad, Maple, Mathematica, Matlab, Simulations. |
|
Description |
This is an interactive E-book for illustrating Runge-Kutta 4th Order Method for solving ordinary differential equations. It includes links to examples, simulations in Mathcad, Maple, Mathematica, and Matlab for the algorithm, convergence, and a PowerPoint presentation. |
|
Publisher |
Holistic Numerical Methods Institute, |
|
Contributors |
Autar Kaw |
|
Format |
Text/HTML |
|
Last Revised |
May 4, 2006 |
|
Identifier |
http://numericalmethods.eng.usf.edu/ebooks/runge4th_08ode_ebook.pdf |
|
Language |
English |
|
Rights |
|
What are ordinary differential equations? A Primer on Ordinary Differential Equations Runge-Kutta 4th Order Method for Ordinary Differential Equations Examples Example 1: First order differential equation rewritten in dy/dx=f(x,y) form Example 2: First order differential equation rewritten in dy/dx=f(x,y) form Example 3: Heat Transfer Problem Solved Using Runge-Kutta 4th Order Method Simulations Method [MAPLE] [MATHCAD] [MATHEMATICA] [MATLAB] Convergence [MAPLE] [MATHCAD] [MATHEMATICA] [MATLAB] Multiple Choice Test Test your knowledge of Runge-Kutta 4th order method [HTML] [PDF] [DOC]
|
||||||||||||||||
|
Background This is an example of how an instructor of a Numerical Methods course can develop an E-book on a single topic by using resources that are only available at the Holistic Numerical Methods Institute (HNMI) Website. Although one of the primary advantages of a web-based resource is that one can use documents outside of its own domain, we are particularly using this example as a way to illustrate the holistic nature of the resources available at HNMI. You are welcome to modify and edit this e-book to suit your purpose. Using the textbook document written in MS Word 2000 as a foundation, it was made interactive within MS Word 2000 by putting bookmarks and hyperlinks to background information, PowerPoint presentations, Mathcad simulations, historical anecdotes, multiple choice tests, problem sets, etc. Then the MS Word 2000 file was saved as a webpage and that is what you are about to read here.
Runge-Kutta 4th Order Method for Ordinary Differential Equations
Runge-Kutta 4th order method is a numerical technique to solve ordinary differential equation of the form
So only first order ordinary differential equations can be solved by using Runge-Kutta 4th order method. In other sections, we have discussed how Euler and Runge-Kutta methods are used to solve higher order ordinary differential equations or coupled (simultaneous) differential equations. How does one write a first order differential equation in the above form?
is rewritten as
In this case
Another example is given as follows
is rewritten as
In this case
Runge-Kutta 4th order method is based on the following
where knowing the value of
Equation (1) is equated to the
first five terms of
Knowing that
Based on equating Equation (2) and Equation (3), one of the popular solutions used is
Simulation of Runge-Kutta 4th Order Method [MAPLE] [MATHCAD] [MATHEMATICA] [MATLAB] Convergence of Runge-Kutta 4th Order Method [MAPLE] [MATHCAD] [MATHEMATICA] [MATLAB] Example 3 A ball at 1200K is allowed to cool down in air at an ambient temperature of 300K. Assuming heat is lost only due to radiation, the differential equation for the temperature of the ball is given by
Find the temperature at Solution
For
For
Figure 1 compares the exact solution with the numerical solution using Runge-Kutta 4th order method step size of h=240.
Table 1 and Figure 2 shows the effect of step size on the value of the calculated temperature at t=480 seconds.
Table 1. Value of temperature at time, t=480s for different step sizes
In Figure 3, we are comparing the exact results with Euler’s method (Runge-Kutta 1st order method), Heun’s method (Runge-Kutta 2nd order method) and Runge-Kutta 4th order method.
The formula described in this chapter was developed by
Runge. This formula is same as Simpson’s
where
This formula is the same as the Simpson’s
Test your knowledge of Runge-Kutta 4th order method [HTML] [PDF] [DOC]
|