$*$ Let $f(x)$ be a continuous function in $[0,1]$ and let $g(x)$ be continuous in $[0,\infty]$ such that $\int_0^\infty\left|g(x)\right|<\infty$, calculate the following integral.
$$\lim_{n\to \infty} \left[ n \int_0^1 g(nx)f(x)dx \right]$$
$*$ Now let $f_0(x)$ be an arbitrary integrable function in $[0,a]$
define $f_n(x)=\int_0^x f_{n-1}(t)dt$
Prove ${f_n(x)}$ converges uniformly to $0$ in $[0,a]$
The first is at follows
By change of variables: $nx=t, ndx = dt$
The integral becomes $$\lim_{n \to \infty}n \left[ \int_0^n \frac{g(t)f(\frac{t}{n})}{n}dt\right]=\lim_{n \to \infty}\left[ \int_0^n g(t)f(\frac{t}{n})dt\right]$$
This is where I get fuzzy, suppose I want to inter-exchange the limit and integral, I learnt that I can do it as long as the integrand converges uniformly and the limit of the integral are unrelated to $n$, how do I do it in this case?
The 2nd part, I have no idea how to even start.
Edit: I have not studied Lebesgue integral yet, this question is suppose to be solvable using uniform convergence, interchanging limit and integral, Dini's and iterated integrals. The full material can be found (in English) here. I proved the 2nd part, but I am not sure if its correct, can anyone check that?
added a bounty.
Your 2nd part looks fine. For the first, without Lebesgue, it's a two step $\epsilon$-argument:
Let $I = \int_0^\infty |g(t)|dt <+\infty$ and $M=\sup_{[0,1]}|f|$.
Given $\epsilon>0$ there is $R<+\infty$ so that $\int_R^\infty |g(t)| dt <\epsilon/(4M)$.
Then by continuity of $f$ there is $N<\infty$ so that $\displaystyle |f(x)-f(0)| < \frac{\epsilon}{2I}$ for $0 \le x \le \frac{R}{N}$. Then for all $n>N$:
$$ |\int_0^n g(t) (f(t/n)-f(0)) dt |\le \int_R^\infty |g(t)| 2M dt + \int_0^R |g(t)| \frac{\epsilon}{2I} dt \le \epsilon$$ so the limit is zero. You readily deduce the convergence of your integral towards $f(0)\int_0^\infty g(t) dt$.