The MATLAB Notebook v1.6

x= -3*pi:0.1:3*pi; f =sin(x)-x/sqrt(2); plot(x,f); grid on; Note: The above example also illustrates a very important concept that the second fundamental theorem of optimization only helps us find LOCAL minima and maxima. None of the minima/ maxima is a GLOBAL minima/ maxima. ................
................