Question:
Assmue that $\int_0^\pi f(x)\,dx$ and $\int_0^\pi f(x)\sin x\,dx$ is convergence,and $f(x)>0,\forall x\in(0,\pi)$ Find this maximum as possible for all function $f$ $$I=\dfrac{\int_0^\pi f(x)\,dx}{\int_0^\pi f(x)\sin{x}\,dx}$$
show that: $$I\le\dfrac{4}{\pi}?$$
I think this problem is interesting,But I can't.