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

Testing Root Methods

Extracts from this document...

Introduction

Pure 2 Coursework: Testing Root Methods A. Hayton Pure Mathematics 2 Coursework: Testing root methods Aim: My aim is to find the advantages and disadvantages of three different root-finding methods: The Change of sign method, The Newton-Raphson method and Fixed Point Iteration. Method 1: Decimal Search (Change of Sign Method) The decimal search method is used to find the first root of y=x5-x+0.2 - the table of our working is shown below. As you can see, when we find the sign changes we can then move on and find the next decimal place. Error Bounds of this root As we can see from the table, the error bounds of this root are -1.044762 and -1.044761 (the root lies in between these two points because y is negative for one and positive for the other). The root is found in 49 iterations. Failure of the Change of Sign Method The root closest to x=1 cannot be found because the decimal search method will stop when it reaches around x=0.3 (finding the first root in between 0 and 1) ...read more.

Middle

Method 3: Rearranging the formula In order to solve graphs by this method, the equation needs to be rearranged so that it crosses y=x. Adding an x to both sides of the equation enables us to do this. For example, y=x5+1.4x2-2x+0.5 becomes x=(x5+1.4x2+0.5)/2. This means that when the new graph crosses y=x the old graph will cross y=0 at the same point. Here is a visual representation of the new graph, along with y=x. If we use the Fixed Point Iteration function of Autograph, we can see the way it works out the graph points: x Change in x 0 N/a 0.25 0.25 0.294238 0.0442383 0.311706 0.0174678 0.319484 0.0077777 0.323113 0.00362939 0.324842 0.00172927 0.325674 0.000831971 0.326076 0.000402127 0.326271 0.000194798 0.326366 9.44653E-05 0.326412 4.58339E-05 0.326434 2.22439E-05 0.326445 1.07966E-05 0.32645 5.24073E-06 0.326452 2.54394E-06 0.326454 1.23489E-06 0.326454 5.99452E-07 The root we have found is x=0.326454. If this value of x were put into the old equation we would find that this is a root of that too. If we find g'(x) for our starting value (x0), it turns out to be 0. ...read more.

Conclusion

It also does Newton-Raphson and Fixed Point iterations in a matter of seconds. It works to a large number of decimal places if this is set in the options. Newton-Raphson Iterations do not need the original equation to be changed in any way and all the roots can be found easily by specifying a starting value close to the root. This is by far the most preferred method out of the three. Fixed-Point Iterations need the equation to be changed before a root can be found. Also, two graphs need to be drawn which can take time in Autograph. Both graphs then need to be selected instead of just one, but from there the computer does all the work. If we want to find all the roots this can take a long time as the graph needs to be redrawn as many as 3 times in some cases! Using the spreadsheet helps to speed up the Decimal Search method, but it cannot be done in Autograph. This means as well as taking longer than the other two it is also more difficult to complete, as all the boxes need to be filled in manually. ?? ?? ?? ?? ...read more.

The above preview is unformatted text

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)

    First I shall investigate fractional powers - I will try to investigate 2 or 3 of these to find a general rule. y = x1/2 x y second point x second point y gradient 3 1.73205080756888 3.1 1.760681686 0.286309 3 1.73205080756888 3.01 1.734935157 0.288435 3 1.73205080756888 3.001 1.732339459 0.288651 4

  2. MEI numerical Methods

    approximately obeys the following equation. X2-x1/ = k? - k?^2/ = k?(1-k)/ Therefore everything cancels out X1-x0 ? - k? ?(1-k) except for K, this is known as the ratio of differences and can be used to find the first order of convergence is ? is unknown, for example in my case.

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

    f'(xn) f(xn)/f'(xn) xn+1 1 1 =B2^3+3*B2^2+0.5*B2-2 3x2+6x+0.5 =3*B2^2+6*B2+0.5 =C2/E2 =B2-F2 2 =G2 =B3^3+3*B3^2+0.5*B3-2 3x2+6x+0.5 =3*B3^2+6*B3+0.5 =C3/E3 =B3-F3 3 =G3 =B4^3+3*B4^2+0.5*B4-2 3x2+6x+0.5 =3*B4^2+6*B4+0.5 =C4/E4 =B4-F4 4 =G4 =B5^3+3*B5^2+0.5*B5-2 3x2+6x+0.5 =3*B5^2+6*B5+0.5 =C5/E5 =B5-F5 5 =G5 =B6^3+3*B6^2+0.5*B6-2 3x2+6x+0.5 =3*B6^2+6*B6+0.5 =C6/E6 =B6-F6 6 =G6 =B7^3+3*B7^2+0.5*B7-2 3x2+6x+0.5 =3*B7^2+6*B7+0.5 =C7/E7 =B7-F7 n - number of

  2. Numerical solution of equations, Interval bisection---change of sign methods, Fixed point iteration ---the Newton-Raphson ...

    B. Here the b) equation is chosen to solve the equation. Graph 3.2 From the Graph 3.2, y = x and intersect at the 3 roots which are around 3.5, 0.5 and -4. Graph 3.3 x=(x�+8)/13 N x 1 -2 2 0 3 0.61538462 4 0.63331116 5 0.63492387 6 0.63507352 7 0.63508745 8 0.63508874

  1. Finding the root of an equation

    The Newton-Rapshon method involves using a starting value. A line is drawn from the starting value on the x-axis directly vertically upwards until it intersects the line created by the graph. At the intersection, the tangent is drawn which passes through the x-axis. At the new intersection, between the tangent and the x-axis, another line is directly vertically drawn upwards until it intersects the line the graph created.

  2. The Gradient Fraction

    If you round the values up and down to their lowest terms and highest terms, they will equal to the following: x=2: 7.82 (round up to 8) the 2 has been multiplied by 4. x=3: 12.41 (round down to 12)

  1. maths pure

    -0.04 -0.03 -0.01 0.003 The above calculations show us that the root lies in the interval [-1.078, -1.077]. From this we can conclude that the root to f(x) = 4x3+5 is ?1.0775 +/- 0.0005. Error Bounds The change of sign method automatically provide bounds, the two ends of the interval,

  2. Functions Coursework - A2 Maths

    Therefore using the Newton-Raphson method, the root to the equation x3-7x-4=0 in the interval [2,3] is 2.8951065 to seven decimal places. Looking at the graph, I will apply the same method and obtain the other two roots, using the approximate roots, -3 and -1 to begin with.

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