A1310 of 55
0 XP
  1. Hook
  2. Problems

A13 · Problem set 2

Problem set 2: Newton, convergence and polynomial roots

These problems use lessons 6 to 9: Newton's and the secant method, order of convergence, roots of polynomials, and the lab's floating-point and root-finding code. Several ask you to run a step or two of an iteration by hand; keep at least six significant digits in between.

Check

Newton's method for 5 uses x←12(x+ax), starting at 1.

(a)

What is x1?

(b)

What is x2?

Check

Find 1/3 without division using x←x(2−3x) from 0.2.

(a)

What is x1?

(b)

The relative error 1−ax squares each step. What is it after the first step?

Check

Solve cos⁡x=x/1.5 with one secant step from x0=0 and x1=1, on f(x)=cos⁡x−x/c.

(a)

What is x2?

Check

Newton's method approaches a root of multiplicity 4.

(a)

By what factor does each step shrink the error?

(b)

How many steps reduce the error by 106?

Check

A method's successive errors are 0.1, 0.01 and 5 × 10⁻⁵.

(a)

What is its estimated order?

Check

Newton costs one f and one f′ per step; the secant method costs one f. A derivative costs 2 times as much as f.

(a)

What is Newton's efficiency index, order to the power 1/(cost per step)?

(b)

And the secant method's?

Check

p(x)=1x3+−4x2+−1x+6, evaluated by Horner's rule at x = 2.

(a)

What is p(x)?

(b)

Where does one Newton step from 2 land?

Check

The constant term of (x−1)(x−2)(x−4) is changed by 0.005.

(a)

About how far does the root at 4 move?

(b)

And the root at 2?

Check

A monic cubic has roots 1, 3 and 5, and its companion matrix has first row (−c2,−c1,−c0).

(a)

What is −c2, the trace?

(b)

What is the companion matrix's determinant?

Check

Divide x3+−6x2+11x+d by x−3 with Horner's rule.

(a)

What is the quotient's coefficient of x?

(b)

And its constant term?

Check

Solve x2−100000x+1=0 without cancellation.

(a)

What is the small root?

Check

Doubles have 53 significant bits.

(a)

What is the spacing above x = 1000?

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

15 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.