Here is the question:
Thus I went about trying to solve this problem in this manner. Note that the Minimum value is correct but the system will not accept 10 as an answer for the maximum value.
check the end points, we get:
(15, 28585) and
so the absolute max is 28585
so always remember to check the endpoints for absolute max and mins