Asee peer logo

Leveraging the Power of Java and Matlab to Solve ODE's

Download Paper |


2014 ASEE Annual Conference & Exposition


Indianapolis, Indiana

Publication Date

June 15, 2014

Start Date

June 15, 2014

End Date

June 18, 2014



Conference Session

Curricular Issues in Computing and Information Technology Programs I

Tagged Division

Computing & Information Technology

Page Count


Page Numbers

24.866.1 - 24.866.22



Permanent URL

Download Count


Request a correction

Paper Authors

author page

Mohammad Rafiq Muqri DeVry University, Pomona

author page

Hasan Muqri UCLA


Shih Ek Chng DeVry University, Pomona

visit author page

College of Engineering and Information Science

visit author page

Download Paper |


Leveraging the power of Java and MATLAB to Solve ODE’sAbstractOrdinary Differential Equations (ODE) are used to model a wide range of physical processes. AnODE is an equation containing a function of one independent variable and its ordinaryderivatives. This paper presents the development and application of a practical teaching moduleintroducing java programming techniques to electronics, computer, and bioengineering studentsbefore they encounter digital signal processing and its applications in junior and senior levelcourses. This paper will focus primarily on how to solve ODEs using Java and Matlabprogramming tools.There are two basic types of boundary condition categories for ODEs – initial value problemsand two-point boundary value problems. Initial value problems are simpler to solve because youonly have to integrate the ODE one time. The solution of a two- point boundary value problemusually involves iterating between the values at the beginning and end of the range of integration.Matlab also presents several tools for modeling linear systems. These tools can be used to solvedifferential equations arising in such models, and to visualize the input-output relations. Thispaper attempts to describe how to use Java programming tool to solve initial value problems ofordinary differential equations (ODEs) using the Runge-Kutta scheme. It will also discuss how torepresent initial value problems and demonstrate how to apply Matlab’s ODE solvers to suchproblems. It will also explain how to select a solver and how to specify solver options forefficient, customized execution.This paper will explain how this learning and teaching module is instrumental for progressivelearning of students; the paper will also demonstrate how the numerical and integral algorithmsare derived and computed through leverage of the java data structures. As a result, there will be athorough discussion concerning the comparison of Java and Matlab programming as well asstudents’ feedback. The result of this new approach is expected to strengthen the capacity andquality of our undergraduate degree programs and enhance overall student learning andsatisfaction.

Muqri, M. R., & Muqri, H., & Chng, S. E. (2014, June), Leveraging the Power of Java and Matlab to Solve ODE's Paper presented at 2014 ASEE Annual Conference & Exposition, Indianapolis, Indiana. 10.18260/1-2--22799

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: © 2014 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