• 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

    The Gradient Function

    5 star(s)

    The gradient function can find out any function of any curve of the y = axn. "A loose end" Some parts of this investigation require that I do a straight line graph for y = axn. I will only binomially expand this, and compare the result to the gradient function - y= x (x+h)-x = h = 1 =x0.

  1. Marked by a teacher

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

    3 star(s)

    predict the real consumption getting better as the more factors added in the function. However, there are still some problems exist. The first one is that the lag structure is too simple to represent the real world's consumption. In addition, consumer's consumption behavior is different when they buy different type of goods.

  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 Mei - Numerical Methods to solve equations

    The Newton-Raphson method was the quickest, finding the root within a certain degree of accuracy in only three iterations. Second was the Decimal Search, which took five iterations and last was the Rearrangement Method, which took the most number of iterations, 6.

  2. C3 Coursework: Numerical Methods

    His is because as with like the Change of Sign method it takes many calculations, in the case of x=g(x), iterations, to find the roots. The fast numerical method appears to be the Newton Raphson method; this is because it takes the fewest number of iterations to find a root.

  1. Numerical solutions of equations

    three, as it does not involve any iterations, so mistakes with iterative formulas and rearrangements are not applicable as with the other two methods used. This method is very advantageous because it immediately provides intervals for the root which I can work towards to obtain an answer, and with each

  2. C3 COURSEWORK - comparing methods of solving functions

    At last, I can see that Newton Raphson converges to a value near to -3.5269. Error Bounds We need to use the change of sign method to trap the root between two solution bounds I evaluate f(-3.52695) and f(-3.52685): f(-3.52685)=-0.00051 f(-3.52695)=0.000193 This change of sign shows that the root must be between these two values.

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