Tag Archives: scientific computing

Python – Solving Second Order Differential Equations

Dwight Reid

This presentation outlines solving second order differential equations (ode) with python. The solution is obtained numerically using the python SciPy ode engine (integrate module), the solution is therefore not in analytic form but the output is as if the analytic function was computed for each time step. The method is generally applicable to solving a higher order differential equation with python as well.
We will use a series RLC circuit as our ordinary differential equations example.
Continue reading