answersLogoWhite

0

By x3 I assume that you mean x3. In which case f(x)=x3-2x+1, and f'(x)=3x2-2.

Therefore our iteration formula is:

xn+1=xn- (xn3-2xn+1)/(3xn2-2)

Starting with x0=0 we get:

x1=0.5

x2=0.6

x3=0.617391304

x4=0.618033095

x5=0.618033988

x6=0.618033988

Starting with x0=0.9 we get:

x1=1.065116279

x2=1.009457333

x3=1.000255451

x4=1.000000195

x5=1

x6=1

Starting with x0=-1.5 we get:

x1=-1.631578947

x2=-1.618183589

x3=-1.618034007

x4=-1.618033989

x5=-1.618033989

The 3 real roots to f(x) are x=-1.618033989, x=0.618033988, and x=1

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How Finding roots of system of nonlinear equation by using newton raphson method with c plus plus?

To find the roots of a system of nonlinear equations using the Newton-Raphson method in C++, you start by defining the system of equations and their Jacobian matrix. The method iteratively updates the solution using the formula ( \mathbf{x}_{n+1} = \mathbf{x}_n - J^{-1}(\mathbf{x}_n) \cdot F(\mathbf{x}_n) ), where ( J ) is the Jacobian and ( F ) is the vector of functions. You'll need to implement a loop that continues until the change in the solution is below a specified tolerance or a maximum number of iterations is reached. Ensure to include checks for convergence to handle cases where the method may fail to find a root.


Can you declare a method within a method in c or c plus plus?

C: there are no methods in C. C++: no.


What do you call an object function in c plus plus?

method


Is a plus plus plus plus plus - plus a real grade?

No, it is not.


Do cam newton get hiccups?

He gets them all the time and plus everyone gets them


How the end of file can be detected in c plus plus?

Use the istream::eof() method.


What is a method in c plus plus?

In C++, methods are simply class member functions.


Who is the male singer that has been in Las Vegas for 30 plus years?

That would be Wayne Newton.


What is the property of a and b are real numbers then a plus b b plus a?

It is the commutative property of addition of real numbers.


What is 6234 plus 2345?

The answer is 8579. All you do is the column method.


Real player plus?

Real player plus is used to watch videos online. Real player plus can be used to download, save, and convert videos to multiple formats, burn HD videos, and share with friends.


How do you solve 6sin x 1 plus 9sin x algebraically over the domain 0 x 2pi?

6*sinx = 1 + 9*sinx => 3*sinx = -1 => sinx = -1/3Let f(x) = sinx + 1/3then the solution to sinx = -1/3 is the zero of f(x)f'(x) = cosxUsing Newton-Raphson, the solutions are x = 3.4814 and 5.9480It would have been simpler to solve it using trigonometry, but the question specified an algebraic solution.