This is LaTeX code:
[latex]
f(y)=\sum_{t=1}^{N}\frac{c_t}{(1+y)^t}-p
[/latex]