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

  • Thread starter Thread starter ruby_duby
  • Start date Start date
  • Tags Tags
    Root
Click For Summary
SUMMARY

The discussion focuses on using the Newton-Raphson method to find the root of the equation x² - 2, starting with an initial guess of x₀=6. The calculated root is approximately 1.414 after five to six iterations. Additionally, the estimation of the number of iterations required for the Bisection method to achieve the same accuracy is discussed, utilizing the formula n ≥ log(b-a) + k log10 / log2, where the interval [1,2] is defined, and k represents the number of decimal digits in the desired precision.

PREREQUISITES
  • Understanding of the Newton-Raphson method for root finding
  • Familiarity with the Bisection method for numerical analysis
  • Knowledge of logarithmic functions and their properties
  • Basic algebra and equation manipulation skills
NEXT STEPS
  • Study the convergence properties of the Newton-Raphson method
  • Learn how to implement the Bisection method in Python or MATLAB
  • Explore error analysis in numerical methods
  • Investigate other root-finding algorithms such as Secant and Fixed-Point Iteration
USEFUL FOR

Students in mathematics or engineering courses, educators teaching numerical methods, and anyone interested in computational techniques for solving equations.

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:
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
9K
  • · Replies 9 ·
Replies
9
Views
2K