Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2019/discrete-mathematics-continuous-mathematics-and-probability/5/b/iii/solution

About five steps are certified by the uniform worst-case estimate; the actual iteration reaches double-precision accuracy in about four. Put . The initial enclosure gives , and repeated squaring yields
For this is about , while for it is below . Thus five ideal-arithmetic steps push this bound well below the approximately relative resolution of double-precision floating-point format.
The bound is conservative. Factoring identifies
High-precision evaluation of the actual successive errors gives approximately , , , and . Thus the fourth step would already exceed double-precision accuracy in exact arithmetic. In floating-point evaluation, cancellation in the residual and other roundoff errors prevent the subsequent theoretical digits from being realized.

New to topics? Read the docs here!