Problem:
$f(x)$ is a continuous function, and it is periodic with period $T$. For any $a<b$, prove that $$\lim_{n\to\infty}\int_a^bf(nx)dx=\frac{b-a}{T}\int_0^Tf(x)dx$$
I tried substituting $nx=t$, but it gave me $\frac{1}{n}\int_{na}^{nb}f(t)dt$, and I don't know what to do. Can anyone give me hints to solve this? Or is there another way to solve this problem?