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.
No Thumbnail Available
Date
2024
Authors
Journal Title
Journal ISSN
Volume Title
Publisher
Kabale University
Abstract
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.
Description
Keywords
Comparative Analysis, Fixed, Variable Step Size Methods, Solving, Ordinary Differetial Equations, Runge-Kutta Order 4, Dormand Prince
Citation
Byonaneebye, Darius (2024). 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. Kabale: Kabale University.