Find number of terms in taylor expansion upto when error is 10^(-6)
3 次查看(过去 30 天)
显示 更早的评论
Find number of terms in taylor expansion upto when error is 10^(-6)
7 个评论
Walter Roberson
2018-7-22
The number of terms is going to be quite different for n around 5 than it is for n around 555555555555555555555555555 . The magnitude of n matters because your error requirement is stated in absolute form, not in relative form.
I suspect the taylor series is only valid for continuous functions, but if you do not restrict n to integer then you can get large complex magnitudes.
As you have not stated an expansion point, it would make more sense to use a series expansion instead of a taylor expansion, or at least a Maclaurin series (taylor around 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!