Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Found small typos in the notebook #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions python_by_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Set $ T=200 $ and $ \\alpha = 0.9 $."
"Set $ T=200 $ and $ \alpha = 0.9 $."
]
},
{
Expand All @@ -833,16 +833,16 @@
"source": [
"### Exercise 2\n",
"\n",
"Starting with your solution to exercise 2, plot three simulated time series,\n",
"one for each of the cases $ \\alpha=0 $, $ \\alpha=0.8 $ and $ \\alpha=0.98 $.\n",
"Starting with your solution to exercise 1, plot three simulated time series,\n",
"one for each of the cases $ \alpha=0 $, $ \alpha=0.8 $ and $ \alpha=0.98 $.\n",
"\n",
"Use a `for` loop to step through the $ \\alpha $ values.\n",
"Use a `for` loop to step through the $ \alpha $ values.\n",
"\n",
"If you can, add a legend, to help distinguish between the three time series.\n",
"\n",
"Hints:\n",
"\n",
"- If you call the `plot()` function multiple times before calling `show()`, all of the lines you produce will end up on the same figure. \n",
"- If you call `plot()` function multiple times before calling `show()`, all of the lines you produce will end up on the same figure. \n",
"- For the legend, noted that the expression `'foo' + str(42)` evaluates to `'foo42'`. "
]
},
Expand Down Expand Up @@ -1168,4 +1168,4 @@
},
"nbformat": 4,
"nbformat_minor": 4
}
}