We are given $f(x)$, continuous on $[0,\infty)$ such that $\lim_{x\rightarrow\infty} f(x)=\ell $. I already proved the first part, that $g(x)=f(x)\sin x$ is bounded. However I cannot prove that if $\ell=0$ then $g$ has a minimum on $[0,\infty)$.
There's a hint given to look at the case $g\geq0$ first, but I can't see how does that help me, beside knowing that when $\sin x<0$ then $f(x)<0$ (P.S, assuming I proved it, how does it relate to the genral case even?).