Does these sequence and series converge? Let $f\in C^1[-\pi,\pi]$ st $f(-\pi)=f(\pi)$ and define $$a_n=\int^{\pi}_{-\pi} f(t)\cos nt dt\,$$ for $n \in\Bbb{N}$ . Then does the sequence $\{na_n\}$ converges? And does the series $\sum^{\infty}_{n=1} n^2|a_n|^2$ converges as $n\to \infty$.
I know that $a_n \to 0$ as $n\to \infty$ and if the series converges the $\{na_n\}$ must converge to $0$.

Yes, the first question is answered by the celebrated Riemann-Lebesgue Lemma.
Since the Fourier coefficients of $f'$ are $na_n$, by applying the Bessel inequality to $f'$ you get $\sum_n n^2 a_n^2 \leq \frac{1}{\pi} \int_{-\pi}^{\pi}|f'|^2$.
