Skip to content
Merged
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
7 changes: 3 additions & 4 deletions lectures/discrete_dp.md
Original file line number Diff line number Diff line change
Expand Up @@ -613,15 +613,15 @@ For larger problems, you might need to write this code more efficiently by vecto

## Exercises

In the [stochastic optimal growth lecture](https://python-intro.quantecon.org/optgrowth.html) from our introductory lecture series, we solve a benchmark model that has an analytical solution.
In the [stochastic optimal growth lecture](https://python.quantecon.org/os_stochastic.html) from our intermediate lecture series, we solve a benchmark model that has an analytical solution.

The exercise is to replicate this solution using `DiscreteDP`.

## Solutions

### Setup

Details of the model can be found in [the lecture on optimal growth](https://python-intro.quantecon.org/optgrowth.html).
Details of the model can be found in [the lecture on optimal growth](https://python.quantecon.org/os_stochastic.html).

We let $f(k) = k^{\alpha}$ with $\alpha = 0.65$, $u(c) =
\log c$, and $\beta = 0.95$
Expand Down Expand Up @@ -907,8 +907,7 @@ plt.show()

#### Dynamics of the capital stock

Finally, let us work on [Exercise
2](https://python.quantecon.org/optgrowth.html#exercises), where we plot
Finally, let us plot
the trajectories of the capital stock for three different discount
factors, $0.9$, $0.94$, and $0.98$, with initial
condition $k_0 = 0.1$.
Expand Down
Loading