• Join over 1.2 million students every month
  • Accelerate your learning by 29%
  • Unlimited access from just £6.99 per month

numerical solutions-Comparison of the three methods and Newton Raphson

Extracts from this document...

Introduction

Numerical Solutions of equations

  1. Newton Raphson method

Equation to be solved is x³−5x−1=0  The function f(x)= x³−5x−1is shown below

image00.png

There are 3 roots. I will first find the root in the interval [2, 3]

I will do the first few lines of calculation manually.

The formula to use is:  xn+1= xn –f(xn)/ f’(xn)

Therefore I must first differentiate x³−5x−1 which is 3x2-5

Using x1=3

X2:   3 – [(33-5 x 3-1)/(3 x 32 -5)] = 2.5

X3:   2.5 – [(2.53-5 x 2.5-1)/(3 x 2.52 -5)] = 2.3455

I will now work out all 3 roots using autograph until 5 significant figures are guaranteedimage01.pngimage06.pngimage07.png

The 3 boxes above show how I obtained the 3 roots of the equation x³−5x−1=0    

Which are -0.20164, -2.1284 and 2.3301

Below is the function f(x)= x³−5x−1 showing where I applied the

...read more.

Middle

image10.png

image11.png

Error bounds for interval [2, 3]

2.3301 is the root in this interval to 5 significant figures.

Therefore the error is 2.3301 ± 0.00005 I will now perform the change of sign test to confirm it is within these limits.

Lower limit is 2.33005 then f (2.33005) = -0.000098648

Upper limit is 2.33015 then f (2.33015) = 0.0010302

There is a change of sign which confirms root in interval is 2.3301 ± 0.00005

When does this method fail?

The Newton Raphson method does not always work, I will show this Using the equation (5x+4)1/7 =0

This function is shown below with autographs attempt to find the root using tangents to the curve starting at x= -1

The function f(x) = (5x+4)1/7

image12.png

As you can see from the graph and the Values of x in the table, it was unable to find the root in the interval [-1, 0].image13.png

This is because of the gradient of the curve, where my starting value is very close to a turning point. Then rather than converging towards the root, it is diverging further and further away on the x axis, therefore overflows and is unable to find the root.

Comparison of methods

...read more.

Conclusion

Comparing Ease of use of Hardware and software

It’s very obvious that the hardware and software speeds up the process of working out the solutions dramatically, as manually is very time consuming and easier to make mistakes.

Autograph is very easy to use and therefore Newton Raphson and rearrangement methods are very easy to perform, as you simply have to add the equation and perform the functions required which only require very few steps and choosing the starting point.  However change of sign requires more knowledge of Excel, having to input the formula yourself and choosing appropriate values for x to converge to the root. However once you know how to use excel you are able to drag down and it copies the formula for each value of x without having to retype it. For the manual calculations I was able to use a calculator, although this was time consuming, setting the starting point to “ans” allowed me to quickly get all the values of x by simply pressing the equals button. Autograph also allowed me to zoom in on roots, changing axes, etc, this helped make the process of finding roots and showing failure much easier.

...read more.

This student written piece of work is one of many that can be found in our AS and A Level Core & Pure Mathematics section.

Found what you're looking for?

  • Start learning 29% faster today
  • 150,000+ documents available
  • Just £6.99 a month

Not the one? Search for your essay title...
  • Join over 1.2 million students every month
  • Accelerate your learning by 29%
  • Unlimited access from just £6.99 per month

See related essaysSee related essays

Related AS and A Level Core & Pure Mathematics essays

  1. Marked by a teacher

    The Gradient Function

    5 star(s)

    I shall try and investigate this. 3x� x y second value x second value y gradient 4 48 4.1 50.43 24.6 4 48 4.01 48.2403 24.06 4 48 4.001 48.024003 24.006 3 27 3.1 28.83 18.6 3 27 3.01 27.1803 18.06 3 27 3.001 27.018003 18.006 2 12 2.1 13.23

  2. C3 Coursework: Numerical Methods

    It was not as tedious as when using the Newton Raphson typing in this formula.

  1. MEI numerical Methods

    False position method: Evaluating this formula, lets assume f(a) = -2 and f (b) = 10, lets assume C = 3, however the f(c) = -5, this means for the new equation would involve b and a would be replaced by c.

  2. Numerical solutions of equations

    = 0. The graph and calculations of this is below: The function is: (x+21/2)1/2 ln (x+21/2) = 0 f'(x) = ((x+21/2)1/2 X 1 ) + (ln (x+21/2) X 1/2 (x+21/2) -1/2) x + 2 1/2 (x+21/2)1/2 + ln (x+21/2) (x+21/2)

  1. Numerical integration can be described as set of algorithms for calculating the numerical value ...

    + f2n-1) + 2(f2 + f4 + f6 + .... + f2n-2)] However, seeing as I am carrying out the mid-point rule then the trapezium rule, I will be using a different version of Simpson's rule (2Mn + Tn)/3. This is simply due to the fact that it involves less arithmetic than using than using the formula stated in the page above.

  2. Numerical Method (Maths Investigation)

    I can create a table with columns of Xn, f(Xn), f / (Xn) and Xn+1 then I can find the approximation root quite easily, of course, I will also need to do it carefully, so do I need for Rearrangement Method.

  1. Solving Equations. Three numerical methods are discussed in this investigation. There are advantages and ...

    Microsoft excel can be set up in order to reduce human error and increase efficient of calculation. A spread sheet is set up for n a f(a) B f(b) 1 0 =B2^3-5*B2^2+4*B2+2 2 =D2^3-5*D2^2+4*D2+2 2 =IF(G2>0,F2,B2) =B3^3-5*B3^2+4*B3+2 =IF(G2>0,D2,F2) =D3^3-5*D3^2+4*D3+2 3 =IF(G3>0,F3,B3)

  2. C3 COURSEWORK - comparing methods of solving functions

    0.904741021 0.867836107 4 0.867836107 0.884382712 5 0.884382712 0.877172596 6 0.877172596 0.880355145 7 0.880355145 0.878958208 8 0.878958208 0.879572894 9 0.879572894 0.879302711 10 0.879302711 0.879421526 11 0.879421526 0.879369287 12 0.879369287 0.879392257 13 0.879392257 0.879382157 14 0.879382157 0.879386598 15 0.879386598 0.879384645 16 0.879384645 0.879385504 17 0.879385504 0.879385126 18 0.879385126 0.879385292 f(0.879385)

  • Over 160,000 pieces
    of student written work
  • Annotated by
    experienced teachers
  • Ideas and feedback to
    improve your own work