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

Compound interest, Draw a flowchart for accumulated principal at the end of...

Draw a flowchart for accumulated principal at the end of 5 years by taking into account compound interest?

Pendulum swings, how many pendulum swings will it take to walk across the c...

how many pendulum swings will it take to walk across the classroom

Bisection method and the newton method, 1. Write two m-files, one for the b...

1. Write two m-files, one for the bisection method and another for Newton's method. 2. Using both the Bisection method and the Newton method answer the following: Include th

What is metric system explain in brief, What is Metric System explain in br...

What is Metric System explain in brief? There are two main systems of measurement in use today. Most countries in the world use the Metric System. In only three countries-the

Tests for relative minimum, Tests for relative minimum For a relative ...

Tests for relative minimum For a relative minimum point there are two tests: i.The first derivative, which is (dy)/(dx)  = f´(x) = 0 ii.The second derivative, which i

3-d coordinate system - three dimensional spaces, The 3-D Coordinate System...

The 3-D Coordinate System We will start the chapter off with a quite brief discussion introducing the 3-D coordinate system and the conventions that we will be utilizing.  We

The null hypothesis, The null hypothesis It is the hypothesis being tes...

The null hypothesis It is the hypothesis being tested, the belief of a specific characteristic for illustration, US Bureau of Standards may walk to a sugar making company along

Find the quadratic polynomial, Find the Quadratic polynomial whose sum and ...

Find the Quadratic polynomial whose sum and product of zeros are √2 + 1, 1/ √2 + 1 Ans:    sum = 2  √2 Product = 1 Q.P = X 2 - (sum) x + Product ∴ x 2 - (2 √2 )

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