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

Solving Equations Using Numerical Methods

Extracts from this document...

Introduction

Matt Coles        Centre Number – 40120        Candidate Number - 3135

Solving Equations Using Numerical Methods

For my coursework, I am going to solve equations that cannot be solved analytically. This is when the equation would have been solved by using the quadratic formula, completing the square or by factorising it. The equations used will be solved numerically and there are three methods that I will be using:

  • The Change of Sign method
  • The Newton-Raphson method
  • The Rearrangement method

Method 1: The Change of Sign Method

The first method that I will be using is the Change of Sign method. The equation that I will be solving is y=x3+3x2-2x-1. To do this, I will be drawing the function of                 f(x)=x3+3x2-2x-1.

Root α

Root β

Root γ

To solve this equation using the Change of Sign method, I will be using the Decimal Search on Microsoft Excel.Firstly, I started by entering the equation into Autograph to get a sketch of the graph.

...read more.

Middle

After that, I moved in closer, entering -3.5 to -3.49 (in 0.001’s) with the formula in the column next to it. This gave me the answer as to where the change of sign was – between -3.491 and -3.49.

Finally, I entered the numbers between -3.491 and -3.49 (in 0.0001’s) into Excel. This showed me that the change of sign was between         -3.4909 and -3.4908.

This is now up to 5 sig.fig. meaning that I have found the answer with the error bounds on the left hand side. The error bounds show that this works as there is a change of sign.

FAILURES

This method fails in two ways – when there is a repeated root or there are two roots within consecutive integers. To show how this method fails, I am using the equation x3+x2-5x+3=0. To do this, I will be drawing the function of f(x)= x3+x2-5x+3.

Method 2: The Newton-Raphson Method

Root α

Root β

...read more.

Conclusion

Root β. The red line is the function of f(x)=x3-7x2+x+3 and the blue lines are the sliding tangents.The third root I have chosen to use is Root γ. Below is the Excel spread sheet with f(xn) and its derivative, f’(x) shown.

Root γ

On the left is the equation that shows the sliding tangent of the Newton-Raphson Method in a graphical form forRoot y. The red line is the function of f(x)=x3-7x2+x+3 and the blue lines are the sliding tangents.  Root γ = 2.4023 (5 sig.fig.).This root has error bounds

FAILURES

y=2x3-3x2-6x+4

Root γ

Method 3: The Rearrangement Method

The third method that I am using is the Rearrangement Method. For this method, I will be using a different function to the other two. The equation I will be using for the Rearrangement method is y=x3+2x2-2x-2. This means that the function I will be using is f(x)= x3+2x2-2x-2.

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

    C3 Coursework - different methods of solving equations.

    5 star(s)

    As an example I have used to demonstrate it is the f(x) = x5 + 6x2 - x + 4 Below is how the graph looks like : When I re arrange the equation in the form of x= g(x), it turns out to be this: When I plot this

  2. Marked by a teacher

    Estimate a consumption function for the UK economy explaining the economic theory and statistical ...

    3 star(s)

    compare with the one in the equation 7, which is about 0.093652. The biggest different change from this equation to the other is DW. The value of DW is 1.55, which is higher than all the result before. This improvement can be shown in the graphs as well. Figure8 (a)

  1. Best shape for gutter and further alegbra - using Excel to solve some mathematical ...

    The mode can be seen from the bar chart. As the numbers in the frequency column change the pupils will be able to see the mean being recalculated and the bar chart adjusting itself to the new values.

  2. Mathematical equations can be solved in many ways; however some equations cannot be solved ...

    I shall now solve it using the Newton-Raphson method to find the root in [0, 1] to the same degree of accuracy. ==> I shall start at 0 as it is a reasonable starting point in order to find the root.

  1. C3 Coursework: Numerical Methods

    Upon using the change of sign method with decimal search the root was found to be 0.75265 with a maximum error of � 0.000005. I shall use the Newton Raphson method to solve the same equation. In order to use the Newton Raphson Method I must first differentiate the equation.

  2. MEI numerical Methods

    Other than that we treat it the same way as the secant method. For my equation, x + ktanx - 1 =0, I will use a as 0, because f(a) = -1, I will use b as ?/4 because f(b)

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

    =2*B4^3-3*B4^2-8*B4+9 =2*C4^3-3*C4^2-8*C4+9 =(B4+C4)/4 =2*F4^3-3*F4^2-8*F4+9 =IF(G4>0,B4,F6) =IF(G4>0,F4,C6) =2*B4^3-3*B4^2-8*B4+10 =2*C4^3-3*C4^2-8*C4+10 =(B4+C4)/5 =2*F4^3-3*F4^2-8*F4+10 =IF(G4>0,B4,F7) =IF(G4>0,F4,C7) =2*B4^3-3*B4^2-8*B4+11 =2*C4^3-3*C4^2-8*C4+11 =(B4+C4)/6 =2*F4^3-3*F4^2-8*F4+11 =IF(G4>0,B4,F8) =IF(G4>0,F4,C8) =2*B4^3-3*B4^2-8*B4+12 =2*C4^3-3*C4^2-8*C4+12 =(B4+C4)/7 =2*F4^3-3*F4^2-8*F4+12 =IF(G4>0,B4,F9) =IF(G4>0,F4,C9) =2*B4^3-3*B4^2-8*B4+13 =2*C4^3-3*C4^2-8*C4+13 =(B4+C4)/8 =2*F4^3-3*F4^2-8*F4+13 =IF(G4>0,B4,F10) =IF(G4>0,F4,C10) =2*B4^3-3*B4^2-8*B4+14 =2*C4^3-3*C4^2-8*C4+14 =(B4+C4)/9 =2*F4^3-3*F4^2-8*F4+14 =IF(G4>0,B4,F11) =IF(G4>0,F4,C11) =2*B4^3-3*B4^2-8*B4+15 =2*C4^3-3*C4^2-8*C4+15 =(B4+C4)/10 =2*F4^3-3*F4^2-8*F4+15 =IF(G4>0,B4,F12)

  2. C3 COURSEWORK - comparing methods of solving functions

    the root in the interval of [0, 1] is near to –0.19609 of 5 significant figures. n xn 1 1.00000 0.78571 2 0.78571 0.72753 3 0.72753 0.72300 4 0.72300 0.72297 5 0.72297 0.72297 6 0.72297 0.72297 Graphical Interpretation of the Newton Raphson method Example: y=2x y=0.5x³+1.5x²–x–0.25 Graph of y=f(x)

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