NOTE- The source of question is Advanced Calculus on real axis which doesn't cover $\textsf{Lebesgue integral}$ and $\textsf{Measure Theory}$ so therefore an approach by those wouldn't be of much help to me (atleast till the time I haven't gone through those)
This post has been suggested as a duplicate but the two answers posted rely on $\textsf{Measure Theory}$
Let$\ \ f:[0,1]\to \mathbb{R}$ be a continuous function. Show that $$\lim_{\lambda\to\infty}\int_0^1 f(x)\sin(\lambda x)\,dx = 0.$$
Here $f$ is only given to be continuous if $f$ was given to be differentiable then we might have simply used integration by part and bounded it
$ \left| {\int_0^1 f(x)\sin(\lambda x)\,dx}\right | = \left| {\left[ -\frac{f(x)}{\lambda}\cos(\lambda x) \right]_0^1 + \frac{1}{\lambda}\int_0^1 f'(x)\cos(\lambda x)\,dx} \right| \le \frac M{\lambda}$
now $\left[ -\frac{f(x)}{\lambda}\cos(\lambda x) \right]_0^1$ is finite. for the second part as $\cos \lambda x \le1$ and $f'(x)$ is finite because $f(x)$ is defined on a closed and bounded interval therefore it is only finite, if we take the limit to infinity the RHS is $0$.
with the differentiabilty condition I've not been able to think of any strategy to solve it. There is a similar post like this but the problem and the solution are well beyond my current scope.
Edit- based on the hint given by Kavi Ram Murthy I have posted a solution but I don't know if it's entirely correct or not.