How can I find the maximum value point of a polynomial?
I am quite confused because the built-in function in MATLAB is just for finding the minimum point by using fminsearch... Can MATLAB do that?
This is my teacher's question:
write a MATLAB script to find the coordinate (x,y) of the maximum of the graph
y = x^3 - 9x^2 + 2x + 8
in the domain 0 <= x <= 2

