Skip to content

Text and supporting code for Modeling and Simulation in Python

License

Notifications You must be signed in to change notification settings

kiranmak/ModSimPy

 
 

Repository files navigation

Modeling and Simulation in Python

Read the book and run the code.

Pre-order the book from No Starch Press.

Modeling and Simulation in Python is an introduction to physical modeling using a computational approach. It is organized in three parts:

  • The first part presents discrete models, including a bikeshare system and world population growth.

  • The second part introduces first-order systems, including models of infectious disease, thermal systems, and pharmacokinetics.

  • The third part is about second-order systems, including mechanical systems like projectiles, celestial mechanics, and rotating rigid bodies.

Taking a computational approach makes it possible to work with more realistic models than what you typically see in a first-year physics class, with the option to include features like friction and drag.

Python is an ideal programming language for this material. It is a good first language for people who have not programmed before, and it provides high-level data structures that are well-suited to express solutions to the problems we are interested in.

Modeling and Simulation in Python is a Free Book. It is available under the Creative Commons Attribution-NonCommercial 4.0 Unported License, which means that you are free to copy, distribute, and modify it, as long as you attribute the work and don’t use it for commercial purposes.

This and other Free Books by Allen Downey are available from Green Tea Press.

About

Text and supporting code for Modeling and Simulation in Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Jupyter Notebook 66.6%
  • HTML 30.2%
  • TeX 2.2%
  • Other 1.0%