|
22 | 22 | \usepackage{hevea} |
23 | 23 | \usepackage{makeidx} |
24 | 24 | \usepackage{setspace} |
25 | | -\usepackage{xcolor} |
26 | 25 | \usepackage{upquote} |
| 26 | +\usepackage{xcolor} |
27 | 27 | \usepackage[listings]{tcolorbox} |
28 | 28 |
|
29 | 29 |
|
@@ -419,7 +419,7 @@ \section{Installing Python} |
419 | 419 | I suggest you accept the recommended options. |
420 | 420 | On Windows you have the option to install Visual Studio Code, which is an interactive environment for writing programs. You won't need it for this book, but you might want it for other projects. |
421 | 421 |
|
422 | | -By default, Anaconda installs most of the packages you need, but there are a few more you might have to add. Once the installation is complete, open a command window. On macOS or Linux, you can use Terminal. On Windows, open Git Bash. |
| 422 | +By default, Anaconda installs most of the packages you need, but there are a few more you might have to add. Once the installation is complete, open a command window. On macOS or Linux, you can use Terminal. On Windows, open the Anaconda Prompt that should be in your Start menu. |
423 | 423 |
|
424 | 424 | Run the following command (copy and paste it if you can, to avoid typos): |
425 | 425 |
|
@@ -724,7 +724,7 @@ \chapter{Bike share} |
724 | 724 | Along the way, we'll make decisions about how to model the system. In the next chapter we'll review these decisions and gradually improve the model. |
725 | 725 |
|
726 | 726 |
|
727 | | -\section{Bikeshare} |
| 727 | +\section{Modeling} |
728 | 728 | \label{modeling} |
729 | 729 |
|
730 | 730 | Imagine a bike share system for students traveling between Olin College and Wellesley College, which are about 3 miles apart in eastern Massachusetts. |
@@ -5277,7 +5277,7 @@ \section{Implementation} |
5277 | 5277 | unpack(system) |
5278 | 5278 |
|
5279 | 5279 | frame = TimeFrame(columns=init.index) |
5280 | | - frame.loc[t0] = init |
| 5280 | + frame.row[t0] = init |
5281 | 5281 | ts = linrange(t0, t_end, dt) |
5282 | 5282 |
|
5283 | 5283 | for t in ts: |
@@ -7627,7 +7627,7 @@ \section{Bungee dunk revisited} |
7627 | 7627 | Modify the code from Chapter~\ref{chap21} to model this effect. How does the behavior of the system change as we vary the mass of the cord? When the mass of the cord equals the mass of the jumper, what is the net effect on the lowest point in the jump? |
7628 | 7628 |
|
7629 | 7629 |
|
7630 | | -\section{Spiderman} |
| 7630 | +\section{Spider-Man} |
7631 | 7631 |
|
7632 | 7632 | In this case study we'll develop a model of Spider-Man swinging from a |
7633 | 7633 | springy cable of webbing attached to the top of the Empire State |
|
0 commit comments