Answer:
The maximum value of f(x) in the interval [0,6] is 56
Explanation:
At maximum value of f(x) we have f'(x) = 0
That is
f'(x) = 3x² - 6x - 9 = 0
x² - 2x - 3 = 0
(x - 3)(x + 1) = 0
x = 3 or x = - 1
Here x = 3 only lies in [0, 6].
Let us find f''(3) value
f''(x) = 6x - 6 = 6 x 3 - 6 = 12>0
Sign of f''(3) is positive, hence at 3 the function is minimum.
Let us find f(0) and f(6)
f(0) = 3 x 0³ - 3 x 0² -9 x 0 + 2 = 2
f(6) = 6³ - 3 x 6² -9 x 6 + 2 = 216 - 108 - 54 +2 = 56
The maximum value of f(x) in the interval [0,6] is 56