Let $f:\mathbb{R}\to\mathbb{R}$ be a continuous function such that $f(x+1)=f(x) \quad \forall x\in\mathbb{R}$.
Define $g(t)=\displaystyle\int_0^tf(x)\,dx$, $t\in\mathbb{R}$ and $h(t)=\displaystyle\lim_{n\to\infty}\frac{g(t+n)}{n}$ (provided it exists).
Show that $h(t)$ is defined $\forall t\in \mathbb{R}$ and is independent of $t$.
As the period of $f$ is $1$, we can say that $\displaystyle\int_0^tf(x)\,dx=t\displaystyle\int_0^1f(x)\,dx$. But what about $\displaystyle\int_0^{t+n}f(x)\,dx$? It is also seen that $g'(t)=f(t)$. How do I find the limit?
Is false.
For example, take $f(x)=\sin(2\pi x)$. Then
$$t\cdot\int_0^1 f(x)dx=0=t\cdot 0 = 0$$
while $$\int_0^t f(x)dx$$
is not $0$ for all values of $t$.
To solve the problem, first define the constant
$$A=\int_0^1 f(x)dx$$
Then, you can easily see that
$$g(t)=A\cdot \lfloor t\rfloor + \int_0^{\{t\}} f(x)dx$$
where $\{t\}$ is the fractional part of $t$ and $\lfloor t\rfloor$ is the largest integer smaller than $t$.
Once you have $g$ in that shape, both tasks should be simple to solve.