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

3 vues (au cours des 30 derniers jours)
Geir
Geir le 8 Oct 2013
Réponse apportée : Geir le 8 Oct 2013
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?

Réponse acceptée

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

Plus de réponses (1)

Geir
Geir le 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!

Community Treasure Hunt

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

Start Hunting!

Translated by