Asee peer logo

A Study of Differential Equation Solver Suites and Real-world Applications Using Python, Maple, and Matlab

Download Paper |


2021 ASEE Virtual Annual Conference Content Access


Virtual Conference

Publication Date

July 26, 2021

Start Date

July 26, 2021

End Date

July 19, 2022

Conference Session

Computing and Information Technology Division Technical Session 5

Tagged Division

Computing and Information Technology

Page Count




Permanent URL

Download Count


Request a correction

Paper Authors


Mohammad Rafiq Muqri DeVry University, Ontario, CA

visit author page

Dr. Mohammad R. Muqri is a Professor in College of Engineering and Information Sciences at DeVry University. He received his M.S.E.E. degree from University of Tennessee, Knoxville. His research interests include modeling and simulations, algorithmic computing, data analytics, analog and digital signal processing.

visit author page

Download Paper |


Ordinary differential equations (ODE) play a vital role in modeling a wide range of physical processes. An ODE is an equation containing a function of one independent variable and its ordinary derivatives. Students will learn how to simulate the case of the spread of human immunodeficiency virus (HIV) and its development into acquired immunodeficiency syndrome (AIDS) as well as the basics of modeling possibly other infections such as COVID-19. Differential equations can be solved in Python using the package ODEINT as well as with GEKKO Optimization suite package. These tools can be used to solve differential equations arising in such viral models, and to visualize the input-output relations. In many cases, there is a need to solve differential equations of second order and higher that have constraints specified at different values of the independent variable, generally referred to as boundary value problems (BVP). The objective of this paper is to teach students how to solve ODEs using Python, Maple and Matlab’s ODE solver programming tools. There are two basic types of boundary condition categories for ODEs – initial value problems and two-point boundary value problems. Initial value problems are simpler to solve because you only have to integrate the ODE one time. The solution of a two-point boundary value problem usually involves iterating between the values at the beginning and end of the range of integration. This teaching module will thus prepare our sophomore electronics, computer, and bioengineering students before they encounter sensor/signal conditioning, processing, and other topics that they may delve into for their capstone senior project. Matlab also presents several tools for modeling linear systems. As a result, there will be a thorough discussion concerning the comparison of Python, Maple and Matlab programming as well as students’ feedback. The result of this new approach is to strengthen the capacity and quality of our undergraduate degree programs, and enhance overall student learning, flexibility and satisfaction.

Muqri, M. R. (2021, July), A Study of Differential Equation Solver Suites and Real-world Applications Using Python, Maple, and Matlab Paper presented at 2021 ASEE Virtual Annual Conference Content Access, Virtual Conference. 10.18260/1-2--36614

ASEE holds the copyright on this document. It may be read by the public free of charge. Authors may archive their work on personal websites or in institutional repositories with the following citation: © 2021 American Society for Engineering Education. Other scholars may excerpt or quote from these materials with the same citation. When excerpting or quoting from Conference Proceedings, authors should, in addition to noting the ASEE copyright, list all the original authors and their institutions and name the host city of the conference. - Last updated April 1, 2015