Following expression was asked to be evaluated in TIFR GS 2015 exam,
$$G = \lim_{n\to\infty}(n+1)\int_{0}^{1} x^{n} f(x) dx$$
where $x \in [0, 1]$ and $f(x)$ be any real valued continuous function.
I have tried using Integration by parts technique but I am not able to solve the integral. I would like to know if any other approach should be used for solving this problem.
P.S. : As per answer key, $G = f(1)$.