Lab 3 · Lecture 3 · Taylor Series and Order of Accuracy
Taylor Series Lab
See polynomials approach a function, bound truncation errors, and measure the order of a formula yourself.
Pick a function and a degree. The orange dashed curve is the Taylor polynomial about 0. Move the evaluation point and compare the actual error with the first neglected term.
Order of a difference formula
Try this
Sine series with error bound
Try this
How many terms for e?
Try this
Q1 Write the Taylor series of about up to the term.
Q2 Approximate with the first three non-zero terms and bound the error.
. Next term bounds the error. True value .
Q3 Derive the central difference formula for and state its order.
Expand , subtract: . So : order 2.
Q4 Errors of a method are for and for . Estimate its order.
Ratio , so order ().
Q5 Why does the error of increase again when is very small?
Round-off: and each have an error of about ; their difference is divided by , giving an error of about that grows as . The total error is minimised near .