Normally, with a Rate of Return equal to a Rate of Inflation, you will have quite a problem finding a finite solution.
If i = annual rate of return = 0.10.
If r = annual rate of inflation = 0.10
Present value of present year
Present value of NEXT year
Do you see the problem, yet?