Introduction to Computational Science
Angela B. Shiflet and George W. Shiflet 
Cover
 
Home
Files to Download
Syllabus
References
Request Examination Copy
Buy the Book

 

 

Python System Dynamics Files
 

Zipped Collection of Files
Tutorial files contributed by Dr. Christine A. Shannon, Centre College


Unzipped Files by Module

Note: graphics.py by John Zelle, author of Python Programming (http://mcsp.wartburg.edu/zelle/python/)
The programs unconstrained.py and unconstrainedError.py plot the data using graphics.py.
We can cut-and-paste output on a screen or in a file into a spreadsheet for graphing.

Chapter 3       System Dynamics Problems with Rate Proportional to Amount

Module 3.5      Drug Dosage

OneCompartAspirin

OneCompartDilantin

Chapter 4                  Force and Motion

Module 4.1      Modeling Falling and Skydiving

Fall

FallFriction

FallSkydive

Module 4.2      Modeling Bungee Jumping

VerticalSpring

Bungee

Module 4.3      Tick Tock—The Pendulum Clock

simplePendulum

Module 4.4      Up, Up, and Away—Rocket Motion

Rocket

Chapter 5                  Simulation Techniques

Module 5.2      Euler's Method

unconstrainedError

Chapter 6                  System Dynamics Models with Interactions

Module 6.1      Competition

sharkCompetition

Module 6.2      Spread of SARS

SIR

SARSRelationships

Module 6.3      Enzyme Kinetics

substrate

Module 6.4      Predator-Prey Models

Predator-Prey

Module 6.5      Modeling Malaria

malaria