Hi Vaibhav,
Thank you! Could you please show me how you arrived at this solution? Specifically, what was the budget constraint. Only that would do too. The further part is just routine optimisation I guess.
I got the constraint as p*c1 + (p*c2)/(1+r) = w + w/(1+r). This was assuming that the agent has an income of w in both periods. The savings are then s = w - p*c1.
I too am not sure about this though.