Let $f$ : $\mathbb{R}$$\to$$\mathbb{R}$ be a differentiable function such that $f(x+h)$$-$$f(x)$ $=$ $h$$f'(x+{1\over2}h)$, for all real $x$ and $h$. Prove that $f$ is a polynomial of degree at most $2$.
At first, write it as ${f(x+h)-f(x)\over h}$$=$$f'(x+{1\over2}h)$. Put limit $h$$\to$$0$ both sides. It'll be $f'(x)$$=$$\lim_{h\to 0}$$f'(x+{1\over2}h)$. Now I am stucked to show that $f$ is a polynomial. Please help.