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

1 回表示 (過去 30 日間)
Geir
Geir 2013 年 10 月 8 日
回答済み: Geir 2013 年 10 月 8 日
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?

採用された回答

Matt J
Matt J 2013 年 10 月 8 日
If you have the Symbolic Math Toolbox:

その他の回答 (1 件)

Geir
Geir 2013 年 10 月 8 日
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!

カテゴリ

Help Center および File ExchangePolynomials についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by