Hint:
Find out where the maximum value is for real number arguments.
Since the function is increasing prior to the maximizing number, and decreasing afterwards, you only need to compare the function values of the integer just prior to the maximizing number and of the integer just after the maximizing number.