f(x)=(x-3)^3 [0,4]
f(x)=x^3-12X [1,4]
1.
Notice, that the derivative has a double root from what results, that the function is a hyperbola with focus in ,
the extrema are then and :
2. , belongs to the interval,
all we have to do now is to check the function values for the variable of , and and pick the highest and the lowest one.