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

Solution of equations by Numerical Methods.

Extracts from this document...

Introduction

Ashley Hilsdon Div 3

Pure 2 Coursework

Solution of equations by Numerical Methods

Method 1: The Change of Sign method

The simplest method for solving an f(x) function is to use a change of sign method; these include the methods of bisection, decimal search and linear interpolations.

Unfortunately, as well as being the simplest methods, they are also relatively cumbersome. The bisection was employed below for the function of f(x)=x5+3x2+x+2. This was also displayed graphically in the graph below.

image00.png

The actual calculations for this method are summarised below in this table. I placed these with relevant diagrams

The error bounds for this result are conveniently provided by the use of this method, and are -1.485<x<-1.475. The maximum error is therefore ± 0.005.

However, this method is clearly not particularly easy to work with. In addition, as with many methods there are some functions for x, which do not work. An example is the function f(x)=x3-2x2-x. This is shown below.

image01.png

...read more.

Middle

Using an estimate for (a.) as 0, the Newton-Raphson iterative formula was then used.

This next diagram gives some indication as to how the Newton- Raphson method actually works. What it basically does is to ‘slide’ the tangent across and is indeed sometimes known as ‘tangent sliding’.

image03.png

For this method, the root can be calculated much more quickly then using the Change of Sign method. In accordance with the question the root was calculated to five significant figures, this means that the real value of x exists between 0.16655 and 0.16665, which give an error value of ± 0.00005.

This method, despite its speed in calculation a root, does not work for every function; this is illustrated below.

Method 3: Fixed Point Estimation- Rearranging the function

The third and final method for numerically solving a function of x is by rearranging an existing function of x and then using fixed-point iteration. This is illustrated for the function f(x)=x3+x-3 below.

Diagram of f(x)=x3+x-3

As is displayed graphically, the function with regards to (g)

...read more.

Conclusion

Rearranging the function is another useful technique, especially when a ‘cobweb’ effect is produced, as this gives natural error bounds for the root. However, it relies on an important rearrangement of the function, in conjunction with the plotting of at least two graphs. Once this has been done, the iterative formula is used, though within my calculations did not prove as fast as the Newton-Raphson method.

As I have already mentioned, the rearrangement method, relies more heavily on suitable graphical generating software or hardware; this is therefore a clear disadvantage that it faces. However, the change of sign method requires an interval for the root and the Newton-Raphson method requires an approximation to the result. Though, as this investigation has proved clear, regardless of the method, it has been necessary to have some idea of the function before attempting calculations. This is particularly important in the case of turning points and roots close to each other.

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

    is -1.961705 � 0.00005. Newton Raphson Method Finally, I am going to use Newton Raphson method to work out the root. I am going to use the inbuilt function in AutoGraph to work it out initially and then I will use Excel to work the root out to more decimal places.

  2. The open box problem

    I will now test this out on 1 more case for ratio 2:1 and then move on to 3:1, and maybe see if the pattern continues. I will try this for the dimensions 10x5. x x 5 10-2x x 5-2x 10 If I swap the dimensions in the equation I get the equation V=x(10-2x)(5-2x).

  1. C3 Coursework: Numerical Methods

    Therefore, the root of the equation, y=3x3-11x+7, is 0.7526 with an error bound of �0.00005. I shall now use the x=g(x) method to solve the equation y=3x3-11x+7. As with the Change of Sign and Newton Raphson methods I shall use the point x=0 as my starting point.

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

    -9.36675E-07 1.269758 1.26976 -9.36675E-07 3.80883E-06 1.269759 1.43609E-06 This is a bisection failure. As the graph shows, we can't solve the other roots. We can only find one root, so the failure exists. Newton-Raphson Method: First of all, I am trying to estimate the root, and I start to work with tangents to find a more accurate estimation.

  1. MEI numerical Methods

    False position method: Evaluating this formula, lets assume f(a) = -2 and f (b) = 10, lets assume C = 3, however the f(c) = -5, this means for the new equation would involve b and a would be replaced by c.

  2. Numerical solutions of equations

    So my starting value for x (x1) would be 0.5. x1 = 0.5 (I substitute x1 = 0.5 into iterative formula to get x2) x2 = 0.701561 (I substitute x2 value into iterative formula to get x3) x3 = 0.676396 x4 = 0.681619 x5 = 0.680600 x6 = 0.680802 x7=

  1. C3 COURSEWORK - comparing methods of solving functions

    0.8xn3+2 xn2-1 1 0 -1 2 -1 0.2 3 0.2 -0.9136 4 -0.9136 0.05929 5 0.05929 -0.9928 6 -0.9928 0.188464 7 0.188464 -0.92361 From the table above, we can see that the iteration is diverging away from the root in interval [0, -1] This is illustrated graphically below: X3 y= 0.8x³+2x²-x–1 X1 y= x X2 We can conclude that g'(x)

  2. Evaluating Three Methods of Solving Equations.

    I found the derivative of the function and got f'(x) = 3x2 +16x-13 which helped me to derive the equation of the tangent. By similar calculation of the value of 'c' we derive the following formula for this tangent and the point x.

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