$f(x)$ is a real valued function on the reals, and has a continuous derivative such that $$\lim_{x\to\infty} f'(x)^2 + f(x)^3 = 0.$$
How do i show that $$\lim_{x\to\infty} f(x) = \lim_{x\to\infty} f'(x)=0?$$
Note I tried to take $f(x)=\frac{1}{x}$ but it did not work
Thank you for any kind of help