Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Use the Newton-Raphson iteration method (NR) to find one positive root ( Xr > 0 ) of the equation $ X^3 +X -1 =0 $ ??

share|improve this question

closed as off-topic by TZakrevskiy, vonbrand, user86418, Brian Rushton, Tomás Mar 17 at 19:14

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – TZakrevskiy, vonbrand, user86418, Brian Rushton, Tomás
If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers 2

up vote 1 down vote accepted

Yes. Set $f(x)=x^3+x-1$ and iterate with the Newton Raphson formula:

$$ x_{n+1}=x_n-\frac{f(x_n)}{f'(x_n)}. $$ You need to guess a value for $x_0$ to start the iteration. Also, $f'(x_n)$ is the derivative of your function $f$ evaluated at $x_n$. If your iterations don't converge, try a different starting value $x_0$.

Hope this helps some.

Cheers,

Paul Safier

share|improve this answer

Approach outline:

A plot (courtesy of Wolfram-Alpha) of the function shows:

enter image description here

Choose a starting point, say:

$$x_0 = 1$$

Write the Newton Iteration formula as:

$$x_{n+1} = x_n - \dfrac{f(x)}{f'(x)} = x_n - \dfrac{x_n^3 + x_n -1}{3 x_n^2 + 1}$$

Write out the iterates $x_0, x_1, x_2, \ldots$ and find:

$$x_5 = 0.682328$$

share|improve this answer
    
Thanks for the right answer , i wish i had 15 reputation to give you vote up :( –  Ahmed Osama Mar 17 at 18:38
    
Thank you so much , any way i am student faculty of mechanical engineering , thank you again 7 you are welcome too :D –  Ahmed Osama Mar 17 at 18:47

Not the answer you're looking for? Browse other questions tagged or ask your own question.