Comparison of Exact and Numerical Solutions with Special Attention to First Order Ordinary Differential Equations
Kassaye Bewketu Zellelew
Abstract
Kassaye Bewketu Zellelew
Abstract
In this paper I solved three first-order ordinary differential equations (ode) both analytically and numerically using 4 th order Runge-Kutta method (RK4). I selected differential equations which can also be solved analytically so as to compare the numerical solutions with the analytical solutions and see the accuracy of the 4 th order RungeKutta method in solving ordinary differential equations of type linear, separable and exact. Both solutions were obtained by employing a computer program written in FORTRAN 90/95. The absolute errors associated with different step sizes have been calculated and the efficient step size for the three types of odes under consideration has been identified. I found out that this numerical method is computationally more efficient and very accurate in solving first-order ordinary differential equations of the three types. This is verified from the relatively small (negligible) differences between the numerical and analytical values (absolute errors).To illustrate the efficiency of the method and for better visualization of its accuracy, the numerical and analytical solutions were plotted against the independent variable. For the differential equations under consideration, the
OpenAlex reports 1 citations for this work. Citation counts describe recorded attention and do not establish research quality.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
In this paper I solved three first-order ordinary differential equations (ode) both analytically and numerically using 4 th order Runge-Kutta method (RK4). I selected differential equations which can also be solved analytically so as to compare the numerical solutions with the analytical solutions and see the accuracy of the 4 th order RungeKutta method in solving ordinary differential equations of type linear, separable and exact. Both solutions were obtained by employing a computer program written in FORTRAN 90/95. The absolute errors associated with different step sizes have been calculated and the efficient step size for the three types of odes under consideration has been identified. I found out that this numerical method is computationally more efficient and very accurate in solving first-order ordinary differential equations of the three types. This is verified from the relatively small (negligible) differences between the numerical and analytical values (absolute errors).To illustrate the efficiency of the method and for better visualization of its accuracy, the numerical and analytical solutions were plotted against the independent variable. For the differential equations under consideration, the
Key concepts: Ordinary differential equation, Ode, Runge–Kutta methods, Mathematics, Applied mathematics, Numerical analysis, Order of accuracy, Differential equation