• 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)

    1.414301942 0.125172 2 1.189207 2.1 1.203801344 0.175152 2 1.189207 2.01 1.190690845 0.178385 2 1.189207 2.001 1.189355738 0.178718 1 1 1.1 1.024113689 0.241137 1 1 1.01 1.002490679 0.249068 1 1 1.001 1.000249906 0.249906 x X 0.25 Gradient 1 1 0.25 2 1.414214 0.148651 3 1.732051 0.109673 4 2 0.088388 Like before,

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

    0.688896179 -6.65815E-06 0.688892365 -3.03145E-07 3.8147E-06 19 0.68888855 6.05186E-06 0.688892365 -3.03145E-07 0.688890457 2.87436E-06 1.90735E-06 20 0.688890457 2.87436E-06 0.688892365 -3.03145E-07 0.688891411 1.28561E-06 9.53674E-07 Newton Raphson's method n xn f(xn) f'(xn) f(xn)/f'(xn) xn+1 1 1 -0.5 -1.5 0.333333333 0.666666667 2 0.666666667 0.037037037 -1.66667 -0.022222222 0.688888889 3 0.688888889 5.48697E-06 -1.66593 -3.29364E-06 0.688892183 4 0.688892183

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

    To conclude the results I have found, Newton-Raphson Method is the one has the fastest speed of convergence, which can be explained as in this method, finding a root by the intercepts of tangents to the curve with x-axis seems to be more efficient, by comparing to the Interval Bisection Method and the method of Rearranging the equation f(x)

  2. 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.

  1. The Gradient Fraction

    x=3: 12.41 (round down to 12) the 3 has been multiplied by 4. x=4: 16.8 (round down to 16) the 4 has also been multiplied by 4. x=-2.5: -9.23 (round to -10) the -2.5 has been multiplied by 4. x=-4: -17.77 (round down to -16) the -4 has been multiplied by +4.

  2. maths pure

    Limitations of Decimal Search The decimal search, an example of a change of sign method, will not work when the curve of a given function touches, but does not cross, the x-axis. In such a case there is no change of sign, and so the method is doomed to failure.

  1. Functions Coursework - A2 Maths

    This method can be illustrated graphically. In order to find the root in the interval [-3,-2], I have chosen an approximate root to be -3, because it is roughly close to the real root in the interval [-3,-2] and is closer to this root than the other ones.

  2. Mathematics Coursework - OCR A Level

    The black line shows the method converging and coming closer and close to the solution. x-value x-y 0.31 0.31 0.2225 0.08751 0.2621 0.03965 0.245 0.01714 0.2526 0.007625 0.2493 0.003356 0.2508 0.001485 0.2501 0.0006553 0.2504 0.0002896 0.2503 0.0001279 0.2503 5.65E-05 0.2503 2.495E-05 0.2503 1.102E-05 0.2503 4.869E-06 0.2503 2.151E-06 0.2503 9.501E-07 0.2503

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