Use Newton’s method to find all roots of the equation correct to six decimal places. 3 cos(x) = x+1?

Im having a hard time trying to find out #x_1# i tried making #x_n# zero to find #x_1# but i keep on getting the wrong answer.

Answer 1

# x=0.889470,-1.862365,-3.637958 #

We have:

# 3cosx=x+1 #

Let:

# f(x) = 3cosx-x-1 #

Our aim is to solve #f(x)=0#. First let us look at the graph:
graph{3cosx-x-1 [-10, 10, -5, 10]}

To find a solution numerically, using Newton-Rhapson method we use the following iterative sequence

# { (x_1,=x_0), ( x_(n+1), = x_n - f(x_n)/(f'(x_n)) ) :} #

Therefore we need the derivative:

# \ \ \ \ \ \ \f'(x) = -3sinx-1 #

We can see from the graph there are three solutions. The root we find will depend upon our initial approximation #x_0#, and this value will require a little trial and error.

Then using excel working to 8dp we can tabulate the iterations as follows:

Initial Value: #x_0 = 1#

Initial Value: #x_0 = -1#

Initial Value: #x_0 = -3#

We could equally use a modern scientific graphing calculator as most new calculators have an " Ans " button that allows the last calculated result to be used as the input of an iterated expression.

And iterating until we get convergence, we conclude that the solution (to 8dp) are:

# x=0.88947041,-1.86236493,-3.63795797 #

So Rounding to #6dp# we have

# x=0.889470,-1.862365,-3.637958 #

Sign up to view the whole answer

By signing up, you agree to our Terms of Service and Privacy Policy

Sign up with email
Answer from HIX Tutor

When evaluating a one-sided limit, you need to be careful when a quantity is approaching zero since its sign is different depending on which way it is approaching zero from. Let us look at some examples.

When evaluating a one-sided limit, you need to be careful when a quantity is approaching zero since its sign is different depending on which way it is approaching zero from. Let us look at some examples.

When evaluating a one-sided limit, you need to be careful when a quantity is approaching zero since its sign is different depending on which way it is approaching zero from. Let us look at some examples.

When evaluating a one-sided limit, you need to be careful when a quantity is approaching zero since its sign is different depending on which way it is approaching zero from. Let us look at some examples.

Not the question you need?

Drag image here or click to upload

Or press Ctrl + V to paste
Answer Background
HIX Tutor
Solve ANY homework problem with a smart AI
  • 98% accuracy study help
  • Covers math, physics, chemistry, biology, and more
  • Step-by-step, in-depth guides
  • Readily available 24/7