Newton-Raphson Method for Solving Tan(x) = x with 3 Iterations

  • Thread starter Thread starter Student2010
  • Start date Start date
  • Tags Tags
    Newton
Click For Summary
SUMMARY

The discussion focuses on applying the Newton-Raphson method to solve the equation tan(x) = x for three iterations, starting with an initial approximation of x0 = 4.5. The user derived the first derivative as f'(x) = sec^2(x) - 1 and formulated the iteration equation x1 = x0 - (tan(x0) - x0) / (sec^2(x0) - 1). The expected result after three iterations is approximately 4.49340946, but the user struggles to obtain a correct value. A suggestion is made to verify the result by calculating tan(x) - x to check how close it is to zero.

PREREQUISITES
  • Understanding of the Newton-Raphson method for root-finding
  • Knowledge of trigonometric functions, specifically tangent and secant
  • Familiarity with calculus concepts, particularly derivatives
  • Basic programming skills for implementing iterative algorithms
NEXT STEPS
  • Implement the Newton-Raphson method in Python or MATLAB for solving nonlinear equations
  • Study the convergence criteria of the Newton-Raphson method
  • Explore the implications of using different initial approximations in iterative methods
  • Learn about error analysis in numerical methods to assess solution accuracy
USEFUL FOR

Mathematicians, engineers, and students involved in numerical analysis or computational mathematics, particularly those interested in solving nonlinear equations using iterative methods.

Student2010
Messages
1
Reaction score
0
Hi Please can somebody help


The equation governing the buckling load P of a strut with one end fixed and the other end simply supported is given by tan (Mu)L = (Mu)L where (Mu) = Sqrt (P/EI), L the length of the strut and EI the flexural rigidity of the strut.
By writing x = (Mu)L, solve the equation tan x = x using three iterations of the Newton-Raphson method, taking
an initial approximation x0 = 4.5



I got the equation for the first derivative to be
f(1)(x)= sec^2(x)-1

x1= x0 - (tan(x0)-x0)/(sec^2(x0)-1)

but i can't get a value out of the equation which seems right, when i carry on to the 3rd iteration it says i should get an answer of around 4.49340946


Would really appreciate help

Thank You
 
Physics news on Phys.org
Student2010 said:
but i can't get a value out of the equation which seems right, when i carry on to the 3rd iteration it says i should get an answer of around 4.49340946

What makes you think it isn't right? There is an easy way to verify. Calculate tan(x) - x and see how close to zero it is.
 

Similar threads

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