The MATLAB Notebook v1.6

ft = taylor(f,3,2.5) % 3 terms at x = 2.5 The above two examples merely confirm the correctness of the theorem. Note the following: If the slope vanishes, we cannot conclude that the function takes a minima or a maximuma, i.e., ................
................