Assume $f:[−1, 1] \to \mathbb{R}$ is continuous and for all $n \in \mathbb{Z}^+ $ we have $\int_{−1}^1 \sin^n(x)f(x) dx=0$. Show that $f\equiv0$.
Possibly Stone - Weierstrass and the sandwich theorem. But I don't really understand how to apply the first theorem at all. Help or hints are welcome.