\(\displaystyle f(x)\) is a continous function at \(\displaystyle R\) which gets a local maximum at point \(\displaystyle x_{0} \). i need to prove - formal proof, not just words - that if\(\displaystyle f\) doens't have any other extremas, f gets maximum at \(\displaystyle x_{0} \).