This is LaTeX code:
[latex]
g(2k)= \frac {f(2k)}{2k}= \frac {k}{2k}= \frac {1}{2}
[/latex]