Find number of terms in taylor expansion upto when error is 10^(-6)
조회 수: 1 (최근 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!