MATLAB: How can i construct the exact Taylor Polynomial of 4th degree around x = 2

taylor polynomial

For the function
f =@(x) exp(x./2)-2.*x.^2+x+10
how can i construct the exact Taylor Polynomial of 4th degree around x = 2?

Best Answer

If you have the Symbolic Math Toolbox: