Let $f_n(x)=\sin(nx)g(x)$ a sequence in $L^2(\mathbf{R})$, where $g(x)\in L^2(\mathbf{R})$ is such that $g(x)>0$. I have to prove that $$f_n(x)\rightharpoonup 0 \ \ \ \mbox{weakly}$$ but $$f_n(x)\nrightarrow 0 \ \ \ \mbox{strongly}.$$
For the weak convergence I have to show that for every $h\in L^2(\mathbf{R})$ $$\int_{-\infty}^{+\infty}\sin(nx)g(x)h(x) dx \to 0 $$ but I don't know how can I procede.
Even for the strong convergence, i.e. for the limit $$\lim_{n\to\infty}\int_{-\infty}^{+\infty}\left[\sin(nx)g(x)\right]^2 dx$$ I ask you for a hint.
Hint: For the weak convergence, approximate $g \cdot h$ in the $L^1$-sense with a smooth function that has a compact support. Then use partial integration.
For the strong convergence, I currently have no idea.