Old question about Newton-Raphson Method

0 views
Skip to first unread message

Anushka

unread,
Apr 10, 2007, 10:11:45 PM4/10/07
to UIC CompSci Qualifier Support & Grievance Group
I know we kinda talked about this before but I came across the problem
again and am not sure how to solve it.

Newton-Raphson method is used to calculate the square root of 2 using
the iteration:
x( i+1 ) = ( x( i ) + 2 / x( i ) ) / 2
If the initial value x(0) is chosen as 1.5, What are the number of
iterations needed to get an accuracy of 10^-14?
(A) 2
(B) 4
(C) 8
(D) 16
(E) 32

Now I know this method converges quadratically but how do you solve
the above question?

I'd appreciate any help,
Anushka

Joel Booth

unread,
Apr 11, 2007, 2:05:39 PM4/11/07
to uic-compsc...@googlegroups.com
You need 14 decimals of accuracy, which is ceiling(lg 14) = 4.  In general, you need ceiling(lg d) iterations to get d decimal places of accuracy.  The number of correct decimal places doubles after each iteration (quadratic convergence).  

- Joel Booth

---

Reply all
Reply to author
Forward
0 new messages