how can i construct the exact Taylor Polynomial of 4th degree around x = 2?

1 view (last 30 days)
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?

Accepted Answer

Matt J
Matt J on 8 Oct 2013
If you have the Symbolic Math Toolbox:

More Answers (1)

Geir
Geir on 8 Oct 2013
This will then be the correct? EDU>> taylor (exp(x./2)-2.*x.^2+x+10,x,2)
I have to give syms x before it will accept the command. Will this affect my wish to go for x = 2?
thanks again!

Categories

Find more on Polynomials in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!