20THE FALLING PENNY REVISITED
So far the differential equations we’ve worked with have been first-order, which means they involve only first derivatives. In this chapter, we turn our attention to second-order differential equations, which can involve both first and second derivatives.
We will revisit the falling penny example from Chapter 1 and use run_solve_ivp to find the position and velocity of the penny as it falls, with and without air resistance.
This chapter is available as a Jupyter notebook where you can read the text, run the code, and work on the exercise. You can access the notebooks at https://allendowney.github.io/ModSimPy.
Newton’s ...
Get Modeling and Simulation in Python now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.