Modeling and Simulation in Python

by Allen Downey

DescriptionTable of ContentsDetailsHashtagsReport an issue

Book Description

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.

This open book is licensed under a Creative Commons License (CC BY). You can download Modeling and Simulation in Python ebook for free in PDF format (2.3 MB).

Table of Contents

Chapter 1
Chapter 2
Bike share
Chapter 3
Iterative modeling
Chapter 4
Sweeping parameters
Chapter 5
World population
Chapter 6
Modeling growth
Chapter 7
Quadratic growth
Chapter 8
Chapter 9
Chapter 10
Case studies
Chapter 11
Chapter 12
Chapter 13
Sweeping two parameters
Chapter 14
Chapter 15
Chapter 16
Chapter 17
Chapter 18
The glucose model
Chapter 19
Case studies
Chapter 20
Chapter 21
Air resistance
Chapter 22
Projectiles in 2-D
Chapter 23
Chapter 24
Chapter 25
Chapter 26
Case studies

Book Details

Computer Science
Green Tea Press
PDF Size
2.3 MB

Related Books

Proceedings of the International Conference on Social Modeling and Simulation, plus Econophysics Colloquium 2014
The proceedings of the international conference "SMSEC2014", a joint conference of the first "Social Modeling and Simulations" and the 10th "Econophysics Colloquium", held in Kobe in November 2014 with 174 participants, are gathered herein. Cutting edge scientific researches on various social phenomena are reviewed. Ne...
Physical Modeling in MATLAB
Modeling and simulation are powerful tools for explaining the world, making predictions, designing things that work, and making them work better. Learning to use these tools can be difficult; this book is my attempt to make the experience as enjoyable and productive as possible. By reading this book - and working on the exercises - you will lear...
Innovations in Derivatives Markets
This book presents 20 peer-reviewed chapters on current aspects of derivatives markets and derivative pricing. The contributions, written by leading researchers in the field as well as experienced authors from the financial industry, present the state of the art in: - Modeling counterparty credit risk: credit valuation adjustment, debit valuation a...
Programming for Computations - Python
This book presents computer programming as a key method for solving mathematical problems. This second edition of the well-received book has been extensively revised: All code is now written in Python version 3.6 (no longer version 2.7). In addition, the two first chapters of the previous edition have been extended and split up into five new chapte...
Excel Data Analysis
This book offers a comprehensive and readable introduction to modern business and data analytics. It is based on the use of Excel, a tool that virtually all students and professionals have access to. The explanations are focused on understanding the techniques and their proper application, and are supplemented by a wealth of in-chapter and end-of-c...
Transformation and Development
This book features various studies on democratization, transformation, political and economic development, and security issues in the Organization for Security and Cooperation in Europe (OSCE) geographical region and beyond. Written by experts and academics in the fields of human rights, security, transformation and development, particularly in pos...