In the next section, we will look at how to solve one-dimensional ordinary differential equations.
Solving a one-dimensional ordinary differential equation
Getting ready
We will need to follow some instructions and install the prerequisites.
How to do it...
- As with integration, SciPy has some extremely accurate general-purpose solvers for systems of ordinary differential equations of the first order:
- For real-valued functions, we have basically two flavors: ode (with options passed with the set_integrator method) and odeint (simpler interface). The syntax of ode is...