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

    I will need to try this, however, with 2 more cases, to find a respective pattern between all of them. With the next method, I shall use solely the table/increment method to find respective gradients. It is perhaps not a preferred method to algebraic proof.

  1. Marked by a teacher

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

    3 star(s)

    The Figure9 (a) and (b) give the same evidence to prove that this is the most fitted equation. There is no pattern in this graph. That is they are no serial correlation. In conclusion, consumption plays an important role in economy, as it is the largest element of demand in the economy.

  2. Am going to use numerical methods to solve equations that can't be solved algebraically

    1.40 -1.02176 1.41 -0.88691633 1.42 -0.746466077 1.43 -0.600289106 1.44 -0.440263578 1.45 -0.290265938 1.46 -0.12617092 1.47 0.044148551 X F (x) 1.460 -0.126170902 1.461 -0.109421167 1.462 -0.092609061 1.463 -0.075734456 1.464 -0.058797223 1.465 -0.041797235 1.466 -0.02473434363 1.467 -0.007608477 1.468 0.009580551 Therefore root is between 1.467 and 1.468 To 3 d.p = 1.4675 +

  1. C3 Mei - Numerical Methods to solve equations

    0.3 -0.07327 0.31 -0.03943 0.32 -0.00519 0.33 0.029491 0.34 0.064634 0.35 0.100271 0.36 0.136435 0.37 0.173159 0.38 0.210478 0.39 0.248426 0.4 0.28704 [0,1] [0.3,0.4] [0.32,0.33] x f(x) 0.321 -0.00174 0.3211 -0.00139 0.3212 -0.00105 0.3213 -0.0007 0.3214 -0.00036 0.3215 -1.4E-05 0.3216 0.000331 0.3217 0.000677 0.3218 0.001022 0.3219 0.001367 0.322 0.001713 x f(x)

  2. Investigate the number of winning lines in the game of connect 4.

    So the third number equation is T=3C-3 The fourth number is different Fourth number 8 18 32 10 14 4 It goes up by 10 then 14. That is an increase of 4. So to the fourth number there are 3 layers.

  1. C3 Coursework: Numerical Methods

    In order to use the x=g(x) method I must first find x=g(x). For the equation, y=3x3-11x+7, x=g(x) is. Speed of Convergence In order to find an estimate of the root using the change of sign method it took 35 calculations, this is far more calculations than the other numerical methods.

  2. C3 COURSEWORK - comparing methods of solving functions

    When the line met the curve, a tangent is drawn and extended until it meets the x-axis and there is a new point on the x-axis, called X2, which is equal to -3.7858. From X2, draw a vertical line until it meet the curve y=f(x).

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