Kardi Teknomo
Kardi Teknomo Kardi Teknomo Kardi Teknomo
   
 
Research
Publications
Tutorials
Resume
Personal
Resources
Contact

 

Comparison Numerical Solution of ODE

 

<Previous | Next | Contents>

The exact general solution of the example is . Inputting the initial value gives and the particular solution is . From initial value, this solution only exist in the range up to about because beyond that the right hand side is negative and square root of negative number give complex number.

Plot of all the four Runge-Kutta method and the exact solution is given below

Comparison Runge Kutta

Note that the numerical solutions of the four methods as well as the exact solution produce almost the same results. When there is a gap between the numerical solution and the exact solution, this gap usually can be narrowed by setting smaller value of .

Though the exact solution does not exist after , the numerical solutions still produce some results but the four methods produce different results. Care must be taken to ensure that you use the domain that produces solution.

Numerical results is not always correct

<Previous | Next | Contents>

See also: Numerical Excel tutorial, Dynamical System tutorial, Kardi Teknomo's Tutorial

Rate this tutorial

 

 

This tutorial is copyrighted.

Preferable reference for this tutorial is

Teknomo, Kardi. Solving Ordinary Differential Equation (ODE). http:\\people.revoledu.com\kardi\ tutorial\ODE\

 

 

 

 
© 2006 Kardi Teknomo. All Rights Reserved.
Designed by CNV Media