Let us say there is a function $f(x)$. Let us say that that it has a Fourier (co)sine series representation $$g(x) = \sum_{n=1}^{\infty} a_n\sin(kx) = f(x)$$
I am having difficulty understanding a question that asks me to find the value to which $g(x)$ converges to over an interval $[a, b]$? $g(x)$ is a function, so it cannot converge to a single value over an interval?