Category Archives: Scientific Python

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

Python – Solving First Order Differential Equations

Dwight Reid

This presentation outlines how to solve an ordinary differential equation (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 as if the analytic function was computed for each time step. We will use a series RC circuit for our example. Continue reading