Solving x^3 +5x -4 to Get Root 0.3274

  • Thread starter Thread starter RMHAZARD
  • Start date Start date
  • Tags Tags
    Root
AI Thread Summary
The discussion centers on finding the root of the equation x^3 + 5x - 4, specifically 0.3274, using the rearranging method. The user successfully applied the change of sign and Newton-Raphson methods but struggles with the rearranging approach, seeking clarification on how to set up the equation correctly. Participants explain that the rearranging method involves expressing the equation in the form x = g(x) and finding intersections with the line y = x to identify roots. They emphasize the importance of conducting an integer search to refine the root approximation iteratively. The conversation highlights the need for careful application of methods to avoid penalties in coursework.
RMHAZARD
Messages
24
Reaction score
0
I am on my final part of my C3 coursework, doing the comparison of methods, i have found the root using the change of sign method, and the Newton raphson method but i am struggling with using the rearranging method. the equation i am using is x^3 +5x -4, i have tried rearranging it to get the root which is 0.3274, but i can not get it to converge to this figure, the coursework is due in tomorrow at 4pm and i just need to do this final bit and i am done but i can't i have been tring for 3 hours please help me.

Thanks

I am not asking for it to be done for me i am just asking to know whati need to do to my equation to get my root 0.3274.
 
Physics news on Phys.org
Show me Newton-raphson with your equation.
 
I have no idea what you mean by the "rearranging method". Please explain.
 
Hes talking about the g(x) method. You make your equation in the form x = ... then find points of interception on the graph y = x. These interceptions are the roots of the orignal equation.

You need to find a root between 2 points using a integer search. Take the x value from the search and put it into the x = equation. then take that value and put it into the equation again until it converges to 5/6 DP.

eg x=x^3-2x/3
x = (-1, 0)
x0 = -1
x1 = -1^3-2*-1/3 = n
x2 = n^3-2*n/3 etc.
 
madmike159 said:
Hes talking about the g(x) method. You make your equation in the form x = ... then find points of interception on the graph y = x. These interceptions are the roots of the orignal equation.

You need to find a root between 2 points using a integer search. Take the x value from the search and put it into the x = equation. then take that value and put it into the equation again until it converges to 5/6 DP.

eg x=x^3-2x/3
x = (-1, 0)
x0 = -1
x1 = -1^3-2*-1/3 = n
x2 = n^3-2*n/3 etc.
What function are you talking about? x= x3- 2x/3 is equivalent to x3- (2/3)x- x= 0 or x3- (5/3)x= 0 which has NO roots between -1 and 0. The method you give will eventually converge to 0 which is a root.
 
No I was giving an exampe of the steps you take. I didn't want to give him somthing that worked because it is course work, he can get marked down if some on did it for him. It works in the same way s the Newton Raphson method (gets a closer value every time) but isn' as quick.
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Back
Top