Note that $f(x)=5x\cos(πx) - x^2$ is continuos and
* $\lim_{x\to \pm \infty} f(x)=-\infty$
then by EVT the function has maximum and is bounded from above.
Note that $f(x)=5x\cos(πx) - x^2$ is continuos and
* $\lim_{x\to \pm \infty} f(x)=-\infty$
then by EVT the function has maximum and is bounded from above.