Introduction
Reference: Consumption over the Life Cycle, by Pierre-Olivier Gourinchas and Jonathan A. Parker Econometrica, Vol. 70, No. 1. (Jan., 2002), pp. 47-89, available from
JSTOR. See also Adda and Cooper (6.3.6, pp 160-4) for a summary.
Your job is to develop code to solve the Euler equation in GP. Namely, given
period t+1 consumption and current cash x, solve the following for current consumption:
See equation (6) for the terminal conditions on cash at the end of the lifecycle.