how do you use the built taylor function, can some one give an example
2 ビュー (過去 30 日間)
古いコメントを表示
how do you use the built taylor function, can some one give an example
0 件のコメント
採用された回答
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Calculus についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!