Answer to Question #256218 in Software Engineering for sagun poudel

Question #256218

What is a truncation error? How can Taylor's series be used to determine truncation error? Explain with the help of an example.




1
Expert's answer
2021-10-27T16:23:53-0400

A truncation error is the difference between the true value (obtained by analytical methods) and numerical value. Taylor's series can help to find the numerical derivative.

Example: series


"\\frac12+\\frac14+\\frac18+...+\\frac1{2^n}"

has an analytical sum of 1.

However, when we compute it, and take say the first 7 terms, the sum is 0.992. The truncation error is, therefore,


"\\Epsilon=1-0.992=0.008."



Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS