A1316 of 55
0 XP
  1. Hook
  2. Problems

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 7 from x0 = 2.

(a)

What's x1?

(b)

What's x2?

Check

Solve x3=2.

(a)

One Newton step from 1: what's x1?

(b)

Instead, one secant step from x0=1 and x1=2: what's x2?

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 C=0.5 and en = 0.001, what's en+1?

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 f[x0,x1,x2]?

Check

Nodes and tables.

(a)

What's Chebyshev node x0 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 M1=S′′(1)?

(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 O(h4). By what factor does it shrink with 2 times as many intervals?

Check

Differences of x3 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, h≈ε: what's h?

(b)

For a central difference, h≈ε1/3: 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 ex at x = 1.5, what's Richardson's correction D(0.05)−D(0.1)3 for central differences?

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.