Weekly exercise 14: Stochastic consumption-savings model in finite horizon