• Join over 1.2 million students every month
  • Accelerate your learning by 29%
  • Unlimited access from just £6.99 per month
Page
  1. 1
    1
  2. 2
    2
  3. 3
    3
  4. 4
    4
  5. 5
    5
  6. 6
    6
  7. 7
    7
  8. 8
    8
  9. 9
    9
  10. 10
    10
  11. 11
    11
  12. 12
    12
  13. 13
    13
  14. 14
    14

Numerical Solutions of Equations.

Extracts from this document...

Introduction

P2 Maths Coursework Numerical Solutions of Equations HANNAN SHAH Introduction In this coursework I intend to use numerical methods to find the solutions of equations that cannot be solved algebraically. Many simple equations can be solved using methods such as factorising or the quadratic formula but such methods cannot be applied to more complicated equations. My intention is to use three methods of numerical analysis to solve some of these more complex equations, show problems associated with these methods and then to compare their relative merits. The methods I will be using are decimal search, fixed point iteration using Newton-Raphson and fixed point iteration after rearranging f(x) = 0 into the form x = g(x). Decimal Search Assuming that you are looking for the roots of the equation f(x) = 0 you want to find the values of x for which the graph of y = f(x) crosses the x-axis. As y = f(x) crosses the x-axis, f(x) changes sign (from + to -), provided that f(x) is continuous. Using decimal search I will attempt to find one root of the equation y = x5+4x�-1. The graph for this function is shown below. The graph clearly shows that there are three roots in the intervals [-2, -1]. [-1,0] and [0,1]. I am going to attempt to find the value of the root in the interval [0,1]. I will start at one decimal place by taking values of x between 0 and 1 in increments of 0.1. The table on the left shows that there is a change of sign between x = 0.4 and x = 0.5. ...read more.

Middle

-1.618 as this is nearest to the point where the tangent of x = 0.8 meets the x axis and the following tangents do not have such a low gradient that may cause them to diverge away from x = -1.618 and back towards the root in the interval [0,1]. Fixed Point Iteration (Rearranging f(x) = 0 in the form x = g(x) This method uses an estimate for the value of x using an iterative process. By rearranging f(x) = 0 into the form x = g(x) provides an iterative formula which will converge to a required root by picking an appropriate starting value. On a graph the roots will be equal to the values of x where the curve y = f(x) intersects the line y = x. The graph for y = x5-3x+1 shows the roots lie in the intervals [-2,-1], [0,1] and [1,2]. x5-3x+1 = 0, therefore x = x5+1 3 This provides the iterative formula: xn+1 = xn5+1 3 The curves above show y = x and y = g(x) = x5+1. 3 With the equation in the form x = g(x) means that you are now finding the points of intersection between the curves rather than when the curve y = x5-3x+1 crosses the x-axis. I will first attempt to find the root in the interval [0,1]. I will take the end point of this interval (x = 1) as the starting point. xn xn+1 = x5+1 3 x0 = 1 x1 = (15 + 1) � 3 = 0.66667 x1 = 0.66667 x2 = (0.666675 + 1) ...read more.

Conclusion

Yet decimal search also had a problem by not showing a change of sign in the first set of calculations when the root had two decimal places. Therefore, ignoring any potential problems I think that fixed point iteration and Newton-Raphson are quicker than decimal search at converging to the required root. I have already made some mention of the use of technology to help speed up the process of finding the roots. Microsoft Excel was of great benefit when making calculations, as it only required the input of the initial values and the formulae. A few mouse clicks gave the results for the entire set of values within a few seconds. Autograph was another very useful piece of software as it could be used to instantly visualise curves and gradient functions. This meant that within seconds I could produce an accurate curve instead of having to make some calculations and draw the curve myself. Autograph also allowed me to see the intervals of the roots (or points of intersection in fixed point iteration). This saved a lot of time as I could easily pick appropriate starting values without having to waste time using trial and error to pick my starting value. Autograph was very useful for both Newton-Raphson and fixed point iteration as it had an inbuilt function to make the various calculations in with a few mouse clicks and these could be used to confirm the values obtained from Microsoft Excel. It was also excellent for showing the iterative processes for both methods by zooming in on the roots as I have shown many times when using these numerical methods. HANNAN SHAH P2 Maths Coursework Hannan Shah Numerical Solutions of Equations Page 2 of 14 ...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)

    Here, it is a little hard to prove this in the normal sense as (x+h) is square rooted, so I will need to rationalize the numerator. V (x+h) - Vx = V (x+h) - Vx x + h -x h V (x+h)

  2. The open box problem

    then I will know that this is right. x x 24 24-2x x 24-2x 24 Once again I will use the same equation but change the 15 to a 24 this time so the equation will be V=x(24-2x)^2. Again I will construct tables and graphs to find out the maximum volume and the value of x.

  1. Investigate the solution of equations, comparing the following methods, Systematic search for change of ...

    = 0.0000193 There is therefore a change of sign, so -4.05606 is correct to 6 significant figures, plus or minus 0.000005. Where this method fails: If the starting point (x1), is where the gradient = 0, ie where there is a stationary point, then the danger is that the

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

    Notice that f1, f2, f3 ect. to fn-1 do double duty as right-hand and left-hand body. Note that is the dependent on the number of trapezia. Thus T16 means that area under the curve is split in 16 rectangles whereas T32 means its split up in 32.

  1. Numerical Method (Maths Investigation)

    For DECIMAL SEARCH X F(X) 1.51211 =EXP(X_)-3*X_ 1.51212 =EXP(X_)-3*X_ 1.51213 =EXP(X_)-3*X_ 1.51214 =EXP(X_)-3*X_ 1.51215 =EXP(X_)-3*X_ 1.51216 =EXP(X_)-3*X_ 1.51217 =EXP(X_)-3*X_ 1.51218 =EXP(X_)-3*X_ 1.51219 =EXP(X_)-3*X_ Tbl AppA-01: Formula used in Microsoft Excel XP for decimal search From the table above, under the f(X)-value column, it all contains the formula =EXP(X_)-3*X_.

  2. Solving Equations Using Numerical Methods

    I will use the same equation as the previous success but try to find either of the remaining two roots. My estimate and starting value will be -2 as it is near the first root (shown on the graph) n Xn 1 -2 2 -1.875 3 -1.523 4 -0.7581 5

  1. I am going to solve equations by using three different numerical methods in this ...

    -1.735649917 -1.735649917 -1.09912868 27.62106745 -1.695856789 -1.695856789 -0.03431212 25.90287655 -1.694532143 -1.69453214 -3.745E-05 25.8463345 -1.69453069 -1.694530694 -4.48E-11 25.84627268 -1.694530694 -1.694530694 3.55271E-15 25.84627268 -1.694530694 -1.694530694 -7.1054E-15 25.84627268 -1.694530694 -1.694530694 3.55271E-15 25.84627268 -1.694530694 In this spreadsheet, Xr = estimated value Xr. f'(Xr) =the value after differentiated f (Xr)

  2. C3 Mei - Numerical Methods to solve equations

    As the gradient of the rearranged equation is not between, therefore the method has failed. Comparison In order to compare the three methods with each other, I will use the equation, which I used for my rearrangement method. Decimal Search I used decimal search to find the root in between 0 and 1.

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