Previous Lecture | lect14 | Next Lecture |
lect14, Tue 02/25
Ordinary differential equations (ODEs)
Reading assignment
For Thursday, continue reading NCM Chapter 7 through Section 7.5. Section 7.5 is about an algorithm that Matlab calls BS23 (and implements as ode23tx); this is the same algorithm that scipy calls RK23.
References for today’s lecture
NCM Sections 7.1 through 7.3 (ODEs).
Outline
- Standard form of an ODE
- Examples of first-order ODEs
- Systems of ODEs
- Lotka-Volterra equations
- phase space plots
- numpy/scipy routines:
- integrate.solve_ivp() with method=’RK23’
- plt.plot()
- plt.xlabel(), plt.ylabel(), plt.title()
- plt.legend()