Finding roots of equation using Newtons method

Click For Summary

Homework Help Overview

The discussion revolves around finding the root of the equation 4sin²x - x = 0 using Newton's method, specifically targeting the root closest to x=2, accurate to three significant figures.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the application of Newton's method, including the formula for iteration and the importance of the initial value. Questions arise regarding the choice of initial value and the potential for errors during calculations.

Discussion Status

Some participants have shared their attempts and results, while others have raised concerns about the convergence of Newton's method for this particular function. There is a suggestion to reconsider the initial value to ensure it lies within the convergence interval.

Contextual Notes

Participants note that the function's derivative may lead to issues if the initial value is not appropriately chosen, highlighting the importance of understanding the behavior of the function near its roots.

andrey21
Messages
475
Reaction score
0
1. Hi really struggling with this question any help would be great.
Use Newtons method to find the root of 4sin^2x - x = 0 which lies closest to x=2, correct to 3sf.



Homework Equations





The Attempt at a Solution

 
Physics news on Phys.org
Jamiey1988 said:
1. Hi really struggling with this question any help would be great.
Use Newtons method to find the root of 4sin^2x - x = 0 which lies closest to x=2, correct to 3sf.



Homework Equations





The Attempt at a Solution


The Newton-Raphson method starts with an initial value [itex]x_0[/itex] and then calculates a sequence [itex]x_1[/itex], [itex]x_2[/itex], ... using the formula
[tex]x_{n+1}= x_n- \frac{f(x_n)}{f'(x_n)}[/tex]

Here [itex]f(x)= 4sin^2(x)- x[/itex] so [itex]f'(x)= 8 sin(x)cos(x)- 1[/itex]

What initial value did you use and what results did you get?
 
Well I am at the same point now, however say i choose initial value of 1 when substituting into formula xn -(4sin^2x -x/ 8sinxcosx-1) my calculator is just saying error! is this because of the sin^2 part of the equation?
 
Newton's method does not always converge. For example suppose somewhere along the line you get a value of xn that is close to a zero of the derivative function. This will send xn+1 into never-never land. This particular function, [tex]f(x)=4\sin^2(x)-x[/tex], has a very narrow interval of convergence wrt Newton's method. An initial value of 1 is outside that interval.

That said, you should be able to solve this equation without resorting to Newton's method. The convergence interval does contain this known point. Choose an initial value that is close to this known solution.
 

Similar threads

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