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 tried to combine those 2 formulas but it didn't work. I tried using another case where there are 2 red balls and 2 blue balls only so when combining the formula I got ##\frac{(4-1)!}{2!2!}=\frac{3}{2}## which does not make sense. Is there any formula to calculate cyclic permutation of identical objects or I have to do it by listing all the possibilities? Thanks
Since ##px^9+q## is the factor, then ##x^9=\frac{-q}{p}## will be one of the roots. Let ##f(x)=27x^{18}+bx^9+70##, then: $$27\left(\frac{-q}{p}\right)^2+b\left(\frac{-q}{p}\right)+70=0$$ $$b=27 \frac{q}{p}+70 \frac{p}{q}$$ $$b=\frac{27q^2+70p^2}{pq}$$ From this expression, it looks like there is no greatest value of ##b## because increasing the value of ##p## and ##q## will also increase the value of ##b##. How to find the greatest value of ##b##? Thanks
Back
Top