11# ModSimPython
2- Text and supporting code for Modeling and Simulation in Python
32
4- You can run the code from the repository in a browser by pressing the Binder button below.
5-
6- [ ![ Binder] ( https://mybinder.org/badge.svg )] ( https://mybinder.org/v2/gh/AllenDowney/ModSimPy/master?filepath=notebooks )
3+ Text and supporting code for * Modeling and Simulation in Python* .
74
85
96* Modeling and Simulation in Python* is an introduction to physical modeling using a computational approach. It is organized in three parts:
@@ -23,8 +20,78 @@ Python is an ideal programming language for this material. It is a good first l
2320[ This] ( http://greenteapress.com/wp/modsimpy/ ) and other Free Books by Allen Downey are available from [ Green Tea Press] ( http://greenteapress.com/wp ) .
2421
2522
26- Getting started
27- ---------------
23+ ## Getting started
24+
25+ There are three ways to work with the code:
26+
27+ * You can run the notebooks on Colab.
28+
29+ * You can run them on Binder.
30+
31+ * You can download them and run them in your own Jupyter environment.
32+
33+ ### Colab
34+
35+ Use these links to run the notebooks on Colab:
36+
37+ * [ chap01.ipynb] ( https://colab.research.google.com/github/AllenDowney/ModSimPy/blob/master/colab/chap01.ipynb )
38+
39+ * [ chap02.ipynb] ( https://colab.research.google.com/github/AllenDowney/ModSimPy/blob/master/colab/chap02.ipynb )
40+
41+ * [ chap03.ipynb] ( https://colab.research.google.com/github/AllenDowney/ModSimPy/blob/master/colab/chap03.ipynb )
42+
43+ * [ chap04.ipynb] ( https://colab.research.google.com/github/AllenDowney/ModSimPy/blob/master/colab/chap04.ipynb )
44+
45+ * [ chap05.ipynb] ( https://colab.research.google.com/github/AllenDowney/ModSimPy/blob/master/colab/chap05.ipynb )
46+
47+ * [ chap06.ipynb] ( https://colab.research.google.com/github/AllenDowney/ModSimPy/blob/master/colab/chap06.ipynb )
48+
49+ * [ chap07.ipynb] ( https://colab.research.google.com/github/AllenDowney/ModSimPy/blob/master/colab/chap07.ipynb )
50+
51+ * [ chap08.ipynb] ( https://colab.research.google.com/github/AllenDowney/ModSimPy/blob/master/colab/chap08.ipynb )
52+
53+ * [ chap09.ipynb] ( https://colab.research.google.com/github/AllenDowney/ModSimPy/blob/master/colab/chap09.ipynb )
54+
55+ * [ chap10.ipynb] ( https://colab.research.google.com/github/AllenDowney/ModSimPy/blob/master/colab/chap10.ipynb )
56+
57+ * [ chap11.ipynb] ( https://colab.research.google.com/github/AllenDowney/ModSimPy/blob/master/colab/chap11.ipynb )
58+
59+ * [ chap12.ipynb] ( https://colab.research.google.com/github/AllenDowney/ModSimPy/blob/master/colab/chap12.ipynb )
60+
61+ * [ chap13.ipynb] ( https://colab.research.google.com/github/AllenDowney/ModSimPy/blob/master/colab/chap13.ipynb )
62+
63+ * [ chap13ode.ipynb] ( https://colab.research.google.com/github/AllenDowney/ModSimPy/blob/master/colab/chap13ode.ipynb )
64+
65+ * [ chap14.ipynb] ( https://colab.research.google.com/github/AllenDowney/ModSimPy/blob/master/colab/chap14.ipynb )
66+
67+ * [ chap15.ipynb] ( https://colab.research.google.com/github/AllenDowney/ModSimPy/blob/master/colab/chap15.ipynb )
68+
69+ * [ chap16.ipynb] ( https://colab.research.google.com/github/AllenDowney/ModSimPy/blob/master/colab/chap16.ipynb )
70+
71+ * [ chap17.ipynb] ( https://colab.research.google.com/github/AllenDowney/ModSimPy/blob/master/colab/chap17.ipynb )
72+
73+ * [ chap18.ipynb] ( https://colab.research.google.com/github/AllenDowney/ModSimPy/blob/master/colab/chap18.ipynb )
74+
75+ * [ chap20.ipynb] ( https://colab.research.google.com/github/AllenDowney/ModSimPy/blob/master/colab/chap20.ipynb )
76+
77+ * [ chap21.ipynb] ( https://colab.research.google.com/github/AllenDowney/ModSimPy/blob/master/colab/chap21.ipynb )
78+
79+ * [ chap22.ipynb] ( https://colab.research.google.com/github/AllenDowney/ModSimPy/blob/master/colab/chap22.ipynb )
80+
81+ * [ chap23.ipynb] ( https://colab.research.google.com/github/AllenDowney/ModSimPy/blob/master/colab/chap23.ipynb )
82+
83+ * [ chap24.ipynb] ( https://colab.research.google.com/github/AllenDowney/ModSimPy/blob/master/colab/chap24.ipynb )
84+
85+ * [ chap25.ipynb] ( https://colab.research.google.com/github/AllenDowney/ModSimPy/blob/master/colab/chap25.ipynb )
86+
87+ ### Binder
88+
89+ You can run the code from the repository in a browser by pressing the Binder button below.
90+
91+ [ ![ Binder] ( https://mybinder.org/badge.svg )] ( https://mybinder.org/v2/gh/AllenDowney/ModSimPy/master?filepath=notebooks )
92+
93+
94+ ### Install Jupyter
2895
2996To run the examples and work on the exercises in this book, you have to:
3097
@@ -38,11 +105,9 @@ To run the examples and work on the exercises in this book, you have to:
38105 text.
39106
40107The next three sections provide details for these steps. I wish there
41- were an easier way to get started; it’s regrettable that you have to do
42- so much work before you write your first program. Be persistent!
108+ were an easier way to get started; it’s regrettable that you have to do so much work before you write your first program. Be persistent!
43109
44- Installing Python
45- -----------------
110+ #### Installing Python
46111
47112You might already have Python installed on your computer, but you might
48113not have the latest version. To use the code in this book, you need
@@ -59,7 +124,7 @@ all files in your home directory, so you don’t need administrator (root)
59124permission to install it, and if you have a version of Python already,
60125Anaconda will not remove or modify it.
61126
62- Start at [ the Anaconda download page] ( https://www.anaconda.com/distribution/#download-section ) .
127+ Start at [ the Anaconda download page] ( https://www.anaconda.com/distribution/#download-section ) .
63128Download the installer for
64129your system and run it. You don’t need administrative privileges to
65130install Anaconda, so I recommend you run the installer as a normal user,
@@ -90,11 +155,10 @@ pip install modsimpy
90155```
91156That should be everything you need.
92157
93- Copying my files
94- ----------------
158+ #### Copying my files
95159
96160The simplest way to get the files for this book is to download a [ Zip
97- archive from GitHub] ( https://github.com/AllenDowney/ModSimPy/archive/master.zip ) .
161+ archive from GitHub] ( https://github.com/AllenDowney/ModSimPy/archive/master.zip ) .
98162You will need a program like
99163WinZip or gzip to unpack the Zip file. Make a note of the location of
100164the files you download.
@@ -153,8 +217,7 @@ git clone https://github.com/YourGitHubUserName/ModSimPy
153217Of course, you should replace with your GitHub user name. After cloning,
154218you should have a new directory called .
155219
156- Running Jupyter
157- ---------------
220+ #### Running Jupyter
158221
159222The code for each chapter, and starter code for the exercises, is in
160223Jupyter notebooks. If you have not used Jupyter before, you can read
0 commit comments