I need help in solving this question from one of the entrance examination.
Q.Consider an economy where a representitive agent lives for three periods. In the first period, she is young - this is the time when she gets education. In the second period, she is middle-aged and with the level of education acquired in the first period, she generates income. More specifically, if she has $h$ units of education in the first period, she can earn $wh$, in the second period, where $w$ is the exogenously given wage rate.
The agent borrows funds for her education when she is young and repays with interest when she is middle aged. If in the first period, the agent borrows $e$, then the human capital $h$ at the beginning of the second period becomes $h(e)$, where $$dh/de > 0$$$$d^2h/de^2 < 0$$
In the third period of her life, she consumes out of her savings made in the second period, that is, when she was middle aged. Assume that the exogenous rate of interest (gross) on saving or borrowing is $R$. For simplicity, assume that an agent does not consume when she is young and, thus, the life time utility is $u(c^m) + bu(c^o)$, where $c^m$ and $c^o$ are the level of consumption when they are middle-aged and old respectively and $0<b<1$ is the discount factor.
1. Write down the utility maximization problem of the agent and the first order conditions.
2. How does the optimal level of education vary with the wage rate and the rate of interest?
I cannot understand how to use the interest rate. Also I have got following answer to 1:-
maximizing$$U = u(c^m) + bu(c^o)$$ subjected to the constraint $$c^o/(1+r) + c^m = wh(e) - (1+r)e$$ from which we can get Lagrange first order equations.
I cannot see how $R$ could be used. Also got a doubtful answer for 2.