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

1 visualizzazione (ultimi 30 giorni)
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?

Risposta accettata

Matt J
Matt J il 8 Ott 2013
If you have the Symbolic Math Toolbox:

Più risposte (1)

Geir
Geir il 8 Ott 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!

Categorie

Scopri di più su Polynomials in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by