Comparative Analysis of Fixed and Variable Step Size Methods for Solving Ordinary Differetial Equations: A Case Study of Runge-Kutta Order 4 and Dormand Prince.
The Dormand-Prince method is a technique similar to the Runge-Kutta method for solving ordinary differential equations (ODEs). It uses six function evaluations to compute solutions with fourth and fifth-order accuracy. This study focuses on numerically solving first-order ODEs and systems of first-o...
Saved in:
Main Author: | |
---|---|
Format: | Thesis |
Language: | English |
Published: |
Kabale University
2024
|
Subjects: | |
Online Access: | http://hdl.handle.net/20.500.12493/2440 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Summary: | The Dormand-Prince method is a technique similar to the Runge-Kutta method for solving ordinary differential equations (ODEs). It uses six function evaluations to compute solutions with fourth and fifth-order accuracy. This study focuses on numerically solving first-order ODEs and systems of first-order ODEs using both the Runge-Kutta fourth-order method and the Dormand-Prince method. The solutions obtained from both methods are then compared in terms of their accuracy. MATLAB scripts for both methods were created to solve these differential equations. The study evaluates the accuracy of the Dormand-Prince method by comparing it with the Runge-Kutta fourth-order method. The results show that the Dormand-Prince method is more accurate than the Runge-Kutta fourth-order method when solving first-order ODEs. However, for systems of first-order ODEs, the Runge-Kutta method was found to be more accurate, while the Dormand-Prince method exhibited significant deviations from the analytical solution at various step sizes. Additionally, the accuracy of both methods improved as the step size decreased. |
---|