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

[geom_series] Add an exercise #524

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open
Changes from 3 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
d3f3452
[geom_series] Add an exercise
SylviaZhaooo Jul 22, 2024
3dd6648
Update the code
SylviaZhaooo Jul 22, 2024
7de56eb
Update geom_series.md
SylviaZhaooo Jul 22, 2024
f434325
Update geom_series.md
SylviaZhaooo Jul 22, 2024
b80d11e
Merge branch 'main' into update_geom_series
shlff Jul 23, 2024
e121412
split_exercises
shlff Jul 23, 2024
7e791a7
Update geom_series.md
SylviaZhaooo Jul 23, 2024
d3c7528
Merge branch 'main' into update_geom_series
shlff Jul 24, 2024
07ef18f
shu_edits
shlff Jul 24, 2024
44da5e2
fix
shlff Jul 24, 2024
9871f29
Revise context.md
SylviaZhaooo Jul 24, 2024
68b6cd5
Modify context
SylviaZhaooo Jul 24, 2024
2da76f3
Merge branch 'update_geom_series' of https://github.com/QuantEcon/lec…
SylviaZhaooo Jul 24, 2024
6a051d6
edits
shlff Jul 24, 2024
899a2c6
Merge branch 'update_geom_series' of https://github.com/QuantEcon/lec…
shlff Jul 24, 2024
8157577
Merge branch 'main' into update_geom_series
shlff Jul 25, 2024
5c5a86a
Merge branch 'main' into update_geom_series
mmcky Oct 11, 2024
fc61b03
Update lectures/geom_series.md
shlff Oct 11, 2024
8430391
Clarify mentioned values
SylviaZhaooo Oct 11, 2024
87ddfa2
Merge branch 'update_geom_series' of https://github.com/QuantEcon/lec…
SylviaZhaooo Oct 11, 2024
2bc17a4
Update lectures/geom_series.md
SylviaZhaooo Oct 12, 2024
95b5024
Update lectures/geom_series.md
SylviaZhaooo Oct 12, 2024
0244418
Update lectures/geom_series.md
SylviaZhaooo Oct 12, 2024
06fd373
Update lectures/geom_series.md
SylviaZhaooo Oct 12, 2024
eb8da1c
Merge branch 'main' into update_geom_series
mmcky Oct 15, 2024
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
17 changes: 15 additions & 2 deletions lectures/geom_series.md
Original file line number Diff line number Diff line change
Expand Up @@ -856,12 +856,22 @@ so $\frac{\partial p_0}{\partial r}$ will always be negative.
Similarly, $\frac{\partial p_0}{\partial g}>0$ as long as $r>g$, $r>0$ and $g>0$ and $x_0$ is positive, so $\frac{\partial p_0}{\partial g}$
will always be positive.

## Back to the Keynesian multiplier
## Exercise
SylviaZhaooo marked this conversation as resolved.
Show resolved Hide resolved

We will now go back to the case of the Keynesian multiplier and plot the
```{exercise-start}
:label: geom_ex1
```
Now go back to the case of the Keynesian multiplier and plot the
time path of $y_t$, given that consumption is a constant fraction
of national income, and investment is fixed.

```{exercise-end}
```

```{solution-start} geom_ex1
:class: dropdown
```
SylviaZhaooo marked this conversation as resolved.
Show resolved Hide resolved

```{code-cell} ipython3
---
mystnb:
Expand Down Expand Up @@ -959,3 +969,6 @@ plt.show()
Notice here, whether government spending increases from 0.3 to 0.4 or
investment increases from 0.3 to 0.4, the shifts in the graphs are
identical.

```{solution-end}
```