Let $f:\mathbb{R}\rightarrow \mathbb{R}$ be a continuous and periodic function with period $P$ and let $F$ be a primitive of $f$.
Prove that: $$\lim_{n\rightarrow \infty }\frac{1}{n}\sum_{k=1}^{n}\frac{F(k)}{k}\cdot f\left ( \frac{k}{n} \right )=\frac{1}{P}\cdot \int_{0}^{P}f(x)dx\cdot \int_{0}^{1}f(x)dx$$
I know that $\frac{1}{P}\cdot \int_{0}^{P}f(x)dx=f(c)$ where $c\in (0,P)$ and that the LHS of the equation could be written as a Riemann sum, but I haven't found something helpful yet.