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 CenterFile Exchange에서 Polynomials에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by