We first take the derivative to see that
Setting this to zero, we see that the function is zero whenever (the exponential function is always bigger than 0) and on our interval , this occurs at and at .
Checking the endpoints and values at the critical points, we have
Hence, our function obtains its absolute maximum at and the value is .