FindMaximum

WMA link


FindMaximum[f, {x, $x_0$}]

searches for a numerical maximum of f, starting from x=$x_0$.

FindMaximum by default uses Newton's method, so the function of interest should have a first derivative.

For a not so well behaving function, the result can be less accurate:

DiscreteLimit
FindMinimum