Videos, Slides, Films

Solve differential equations in Python

Available as
Online
Summary

Differential equations are solved in Python with the Scipy.integrate package using function ODEINT. ODEINT requires three inputs: y = odeint(model, y0, t)model: Function name that returns derivativ...

Differential equations are solved in Python with the Scipy.integrate package using function ODEINT. ODEINT requires three inputs: y = odeint(model, y0, t)model: Function name that returns derivative values at requested y and t values as dydt = model(y,t) y0: Initial conditions of the differential states t: Time points at which the solution should be reported. Additional internal points are often calculated to maintain accuracy of the solution but are not reported.

Details

Additional Information