Let $f:[a,b] \rightarrow \mathbb{R} $ be a continuous function in $[a,b]$ and differentiable in $(a,b)$ such that $f(a)=f(b)=0$ . Show that $7f(c)+cf'(c)=0$ for some $c \in (a,b)$.
I tried to use rolle's theorem and the mean value theorem, but got stuck. Any hint will be appreciated.
Apply the Rolle's theorem to the function $$x^7f(x).$$