To be able to solve differential equations numerically, one has to reduce them to a set of first order ordinary differential equations – also called the state variable form. By writing them in a matrix form, the equations become conducive for programming in languages such as MATLAB. Here is an example of this reduction to state variable matrix form.

This post is brought to you by

- Holistic Numerical Methods Open Course Ware:
- Numerical Methods for the STEM undergraduate at http://nm.MathForCollege.com;
- Introduction to Matrix Algebra for the STEM undergraduate at http://ma.MathForCollege.com

- the textbooks on
- the Massive Open Online Course (MOOCs) available at