Newton-Raphson & Bisection Methods to Find x2- 2 Root

  • Thread starter Thread starter ruby_duby
  • Start date Start date
  • Tags Tags
    Root
ruby_duby
Messages
46
Reaction score
0

Homework Statement



Using the Newton raphson method with x0=6, find the root of x2- 2 to 3dp.

Then estimate the number of iterations the bisection method that would be required to achieve the same accuracy.

Homework Equations





The Attempt at a Solution



I have done the first part with the Newton raphson method and have found that at x5 and x6 the answer of the root of the function is 1.414

However I am not sure how to estimate the number of iterations the bisection method will use, my guess is you use the following formula:

make the interval [1,2] (b=2, a=1) and k= accuracy
then

n must be greater than or equal to: log(b-a)+klog10/ log2
 
Physics news on Phys.org


Assuming k is the number of decimal digits in the precision (i.e. k = 6 for a precision of 10-6) and assuming you just forgot to type a parenthesis around the two log terms before diving with log 2, I get same result. If that is any help at this time :smile:
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...

Similar threads

Back
Top