By Brian Winkel


Download (PDF)

Licensed according to this deed.

Published on


Mohameden, Ahmed. 2008. Solving initial-value second order ordinary differential equations on an Excel© spreadsheet. MSOR Connections. 8(4):  November 2008 – January 2009. 21-25.

Abstract: This paper presents a friendly method of solving initial-value second order differential equations (DEs) analytically on a MS Excel© workbook. Upon entering the constant coefficients and boundary conditions, the type of solution is highlighted and the user can visualize the full solution accompanied by a graphical representation, on a mouse click. Graphical artefacts and data misrepresentation have been explored and remedial procedures recommended. This tool is designed to help engage students and contribute in tackling the rather familiar “maths problem” to many lecturers today. It is also intended as a help to academics wishing to generate DEs for teaching and assessment purposes; in addition to being a handy aid to simulation and development engineers. Parameters can be varied and equations with solutions saved on a separate worksheet for future use. There is room for customizing this solver to adopt user’s terminology. This present version is the first and it has been restricted to equations of the type:

              ay” + by’ + cy = RSin(ωt + φ)

where a, b, c, R, ω and φ are all constants and b or R can be zero.

Keywords: differential equations, solution, spreadsheet, Excel, numerical

Cite this work

Researchers should cite this work as follows:

  • Brian Winkel (2017), "2008-Mohamdden-MSExcelForSolvingSecondOrderODEs," https://simiode.org/resources/4357.

    BibTex | EndNote


Footer - a work in progress.