MA/CS/EGR 537: Assignment 5 Answers/Grading

p. 86, 4 (a) xN - A = 0 implies that x = A1/N. There is a solution unless N is even and A is less than 0. In fact, there is a solution at both -x or +x when N is even.
(b) This is computed by calculating the derivative of f(x) = xN - A, which is f'(x) = NxN-1, substituting into

g(x) = x - f(x)/f'(x),
and simplying.

Point Loss: -5 for not identifying which A's and N's produce a root.

p. 86, 6 This was a simple Matlab script that implemented 2 algorithms.

Point Loss: -10 for a method missing.

p. 89, 29 (a) Note that there exists some integer m such that

22(m-1) < A < 22m for all real A>0.
Since
A = (A / 22m) · 22m,
define
q = (A / 22m).
Hence,
q in [ 22(m-1) · 2-2m, 22m · 2-2m ) = [ ¼, 1 ).

Point Loss: -10 if there is a rigorous proof of (a) missing or you assume that ¼<q<1 without a proof.

Cheers,
Craig C. Douglas