Use newtons method to find out an approximation, Mathematics

Assignment Help:

Use Newton's Method to find out an approximation to the solution to cos x = x which lies in the interval [0,2].  Determine the approximation to six decimal places.

Solution

Firstly note that we weren't given an initial guess. However, we were given an interval in which to look.  We will utilize this to get our initial guess. As noted down above the general rule of thumb in these cases is to take the initial approximation to be the midpoint of the interval.  Thus, we'll utilize x0  = 1 as our initial guess.

Next, recall that we ought to have the function in the form f ( x ) = 0 .  Thus, first we rewrite the equation as,

                                                      cos x - x = 0

Now we can write down the general formula for Newton's Method.  Doing this will frequently simplify up the work a little so generally it's not a bad idea to do this.

                                     xn +1    = xn   - (cos x - x /(- sin x -1))

Now let's get the first approximation.

                             x1  = 1 -( cos (1) -1/- sin (1) -1) = 0.7503638679

At this point we have to point out that the phrase "six decimal places" does not mean only get x1 to six decimal places & then stop. Rather than it means that we continue till two successive approximations agree to six decimal places.

Given that stopping condition we obviously have to go at least one step farther.

x 2 = 0.7503638679 - (cos (0.7503638679) - 0.7503638679/- sin (0.7503638679) -1)

           = 0.7391128909

We've got the approximation to 1 decimal place. Let's accomplish another one, leaving the details of the computation to you.

                                           x3  = 0.7390851334

We've got it to three decimal places. We'll require another one.

                                         x4  = 0.7390851332

And now we've got two approximations that agree to 9 decimal places and therefore we can stop. We will suppose that the solution is approximately x4  = 0.7390851332 .


Related Discussions:- Use newtons method to find out an approximation

Square root., i dont get these questions they are hard for me

i dont get these questions they are hard for me

Solve the subsequent quadratic equation, Solve the subsequent quadratic equ...

Solve the subsequent quadratic equation: Solve the subsequent quadratic equation through taking the square roots of both sides. 3x 2 = 100 - x 2 Solution: Step 1

Function that computes the product of two matrices, Write a function that c...

Write a function that computes the product of two matrices, one of size m × n, and the other of size n × p. Test your function in a program that passes the following two matrices t

Substitution, When I complete each of the three methods, should I get the s...

When I complete each of the three methods, should I get the same x and y values?

Expected value, Expected Value For taking decisions under conditions of...

Expected Value For taking decisions under conditions of uncertainty, the concept of expected value of a random variable is used. The expected value is the mean of a probability

Find the probability, Q. Suppose Jessica has 10 pairs of shorts and 5 pair...

Q. Suppose Jessica has 10 pairs of shorts and 5 pairs of jeans in her drawer. How many ways could she pick out something to wear for the day? What is the probability that she pick

Online tutoring, how can i find the online students ?

how can i find the online students ?

Adding & subtracting i guess, Jack and his mother paid $11.50 for tickets t...

Jack and his mother paid $11.50 for tickets to the movies, and adults tickets cost $4.50 more than a child ticket what was the cost of each ticket?

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd