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

Ways for 30 identical balls can be distributed among 4 boys, In how many w...

In how many ways 30 identical balls can be DISTRIBUTED among 4 boys?? Ans) Let they get a,b,c,d respectively. You requireto find the non negative integral results of a+b+c+d=3

Logarithmic functions, y=log4(x). i am unsure what this graph is supposed t...

y=log4(x). i am unsure what this graph is supposed to look like?

Dr.., I need some material on Bachet equation

I need some material on Bachet equation

Use mathematical induction and prove equation, 1. Use mathematical inductio...

1. Use mathematical induction to prove whenever n is a positive integer. 2. Use loop invariant to prove that the program for computing the sum of 1,...,n is correct.

Parity to De-Skew, Consider the following proposal to deskew a skewed bitst...

Consider the following proposal to deskew a skewed bitstream from a TRNG. Consider the bitstream to be a sequence of groups ot n bits for some n > 2. Take the first n bits, and o

DETERMINANT, IF 7 AND 2 ARE TWO ROOTS OF THE EQUATION |X 3 7 2 X 2 7 6 X...

IF 7 AND 2 ARE TWO ROOTS OF THE EQUATION |X 3 7 2 X 2 7 6 X |=0 THEN FIND THE THIRD ROOT IS

Find the length of the second diagonal, Find the length of the second diago...

Find the length of the second diagonal of a rhombus, whose side is 5cm and one of the diagonals is 6cm.

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