You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lectures/olg.md
+9-10Lines changed: 9 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ jupytext:
4
4
extension: .md
5
5
format_name: myst
6
6
format_version: 0.13
7
-
jupytext_version: 1.14.5
7
+
jupytext_version: 1.15.2
8
8
kernelspec:
9
9
display_name: Python 3 (ipykernel)
10
10
language: python
@@ -294,12 +294,17 @@ def capital_demand(R, α):
294
294
return (α/R)**(1/(1-α))
295
295
```
296
296
297
+
```{code-cell} ipython3
298
+
def capital_supply(R, β, w):
299
+
R = np.ones_like(R)
300
+
return R * (β / (1 + β)) * w
301
+
```
302
+
297
303
The next figure plots the supply of capital, as in [](saving_log_2_olg), as well as the demand for capital, as in [](aggregate_demand_capital_olg), as functions of the interest rate $R_{t+1}$.
298
304
299
305
(For the special case of log utility, supply does not depend on the interest rate, so we have a constant function.)
0 commit comments