Let $f:[a,b]\to\mathbb R$. Evaluate $\lim_{n\to\infty}\int_a^bf(x)\sin(nx)\,dx$ 
Let $f:[a,b]\to\mathbb R$. Evaluate $\lim_{n\to\infty}\int_a^bf(x)\sin(nx)\,dx$.

$f$ is continuously differentiable.
I'm told this can be done using basic calculus. It's difficult for me to see where I should begin. I'd like some hints.

This (classical) result goes by the name of Riemann-Lebesgue lemma. In the comment above I cited an exposition of proof for $f$ that is Riemann integrable. Here I consider the general case of $f\in L^1(\mathbb{R^d})$ and its Fourier transform
$$\widehat{f}(\xi) = \int_{\mathbb{R^d}} f(x)e^{-2\pi ix\xi} dx. $$
The  claim is that $\widehat{f}(\xi)\rightarrow 0$ as $|\xi|\rightarrow\infty$.
Let $\xi' = \frac{1}{2}\frac{\xi}{|\xi|^2}$ so that $|\xi'|\rightarrow 0$ as $|\xi|\rightarrow\infty$. Next, by translation invariance of the integral
\begin{align}
\widehat{f}(\xi) &= \int_{\mathbb{R^d}} f(x-\xi')e^{-2\pi i(x-\xi')\xi} dx\\
&= \int_{\mathbb{R^d}} f(x-\xi')e^{-2\pi ix\xi} e^{2\pi i\xi'\xi} dx
=\int_{\mathbb{R^d}} -f(x-\xi')e^{-2\pi ix\xi}  dx
\end{align}
since $e^{2\pi i\xi'\xi} = e^{\pi i} =-1$. We can now write
\begin{align}
\widehat{f}(\xi) &= \frac{1}{2}\int_{\mathbb{R^d}} [f(x)-f(x-\xi')]e^{-2\pi i(x-\xi')\xi} dx
\end{align}
so that $|
\widehat{f}(\xi)|\le ||f-f_{\xi'}||_{L^1}$ where $f_{\xi'}(x)=f(x-\xi')$ is the translation of $f$ by $\xi'$. We are done because translations are continuous with respect to the norm. Let's make this statement precise.
For $f\in L^1(\mathbb{R^d})$, $||f-f_{h}||_{L^1}\rightarrow 0$ as $h\rightarrow 0$. We use the fact that continuous functions with compact support are dense in $L^1$. Let $g\in C_0(\mathbb{R}^d)$ such that $||f-g||\le\epsilon$, then $||f_h-g_h||\le \epsilon$. By (uniform) continuity of $g$, we have that $||g-g_h||\rightarrow 0$ as $h\rightarrow 0$. claim follows by triangle inequality.
