how do you use the built taylor function, can some one give an example

조회 수: 1 (최근 30일)
how do you use the built taylor function, can some one give an example

채택된 답변

James Tursa
James Tursa 2012년 7월 23일
편집: James Tursa 2012년 7월 23일
From the documentation:
syms x
taylor(exp(x))
taylor(sin(x))
taylor(cos(x))
ans =
x^5/120 + x^4/24 + x^3/6 + x^2/2 + x + 1
ans =
x^5/120 - x^3/6 + x
ans =
x^4/24 - x^2/2 + 1
Note that this requires the symbolic math toolbox.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by