A13 · Problem set 3
Problem set 3: roots, interpolation and derivatives
These problems use lessons 6 to 15: Newton's and the secant method, order of convergence and safeguarding, polynomial interpolation, splines, and numerical and automatic differentiation.
Check
Newton's method for from = 2.
(a)
What's ?
(b)
What's ?
Check
Solve .
(a)
One Newton step from 1: what's ?
(b)
Instead, one secant step from and : what's ?
Check
Rates of convergence.
(a)
Newton approaches a root of multiplicity 2. By what factor does each step shrink the error?
(b)
At a simple root with and = 0.001, what's ?
Check
A run's errors are 0.1, 0.03162, 0.005623.
(a)
What's the order?
(b)
Assuming the same pattern, what's the next error?
Check
Efficiency.
(a)
A method of order 1.618 costs 1 evaluations per step. What's its efficiency index?
(b)
What's Newton's, with f and f′ each costing one evaluation?
Check
The points (0, 1), (1, 2), (2, 6).
(a)
What's the interpolating quadratic at 1.5?
(b)
What's the divided difference ?
Check
Nodes and tables.
(a)
What's Chebyshev node for n = 6?
(b)
What's the worst linear-interpolation error of a 512-entry sine table?
Check
The natural spline through (0, 0), (1, 3), (2, 4).
(a)
What's ?
(b)
What's S(0.5)?
Check
Spline bookkeeping.
(a)
How many coefficients does a cubic spline through 9 points have?
(b)
Its error is . By what factor does it shrink with 2 times as many intervals?
Check
Differences of at x = 1 with h = 0.1.
(a)
What does the forward difference give?
(b)
What does the central difference give?
Check
Best steps in a 24-bit format.
(a)
For a forward difference, : what's h?
(b)
For a central difference, : what's h?
Check
Noise and extrapolation.
(a)
Samples with 1 mV of noise, 5 µs apart, are differenced. How noisy is the derivative?
Write units the way you normally would: 1.5 V/s, 1500 mV/s and 0.0015 kV/s are the same answer.
(b)
For at x = 1.5, what's Richardson's correction for central differences?
Check
Chebyshev polynomials satisfy .
(a)
What is ?
Check
Central differences give 2.72 with step h and a value 0.003 smaller with step h/2.
(a)
What is the Richardson-extrapolated derivative?
Check
Linear interpolation on a table with spacing 0.1, for a function with 1.
(a)
What is the worst-case error?
Check
Evaluate on the dual number .
(a)
What is the real part?
(b)
What is the part?
Have paper and a calculator ready. Work each problem out by hand, then enter the answer. Your first try on each one counts toward your score.
Practice
Keep practicing
16 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.