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

Introduction

A2 Mathematics Coursework C3 Year 12 Numerical solutions of equations Solving 0 = x5+x-5 using the "Change Of Sign" Method The method I will use to solve 0 = x5+x-5 is the Change of Sign Method involving the Decimal Search method. I have drawn this graph using the Autograph Software, and the print screen of this is below: From my graph above, I can see that the root of this equation is between x =1 and x = 1.5. The table of x values and f(x) values is shown below. I can work out the f(x) values by substituting the x-values into the equation. x 1 1.1 1.2 1.3 1.4 1.5 f(x) -3 -2.28949 -1.31168 0.01293 1.77824 4.09375 From my table of values above, it is clear that the change of sign from negative to positive occurs between x = 1.2 and x = 1.3. So, I can narrow these values down further to find another change of sign. x f(x) 1.21 -1.19626 1.22 -1.07729 1.23 -0.95469 1.24 -0.82837 1.25 -0.69824 1.26 -0.56420 1.27 -0.42616 1.28 -0.28403 1.29 -0.13769 1.30 0.01293 I can see that the change of sign is between x = 1.29 and x = 1.30. x f(x) 1.291 -0.12283 1.292 -0.10792 1.293 -0.09296 1.294 -0.07797 1.295 -0.06293 1.296 -0.04784 1.297 -0.03271 1.298 -0.01754 1.299 -0.00233 1.300 0.01293 The change of sign is in the interval [1.299, 1.300] x f(x)

Middle

Therefore, the Newton-Raphson method has failed to find that particular root despite taking a starting value close to it. This is shown graphically in Figure 6b. Solving 0= x5+4x2-2 using the "Rearranging method" The graph of this is shown below (or see Figure 5): I will rearrange f(x)=0 in the form of x = g(x). As my equation is 0= x5+4x2-2, there are possible rearrangements of this. I will only pick out two possible rearrangements. Rearrangement 1: 0= x5+4x2-2 -x5= 4x2-2 x5= -4x2+2 x= (-4x2+2)1/5 On the Autograph software, I will draw the equation y= g(x)= (-4x2+2)1/5 and the line y = x. This is shown below (or see Figure 6): Rearrangement 2: 0= x5+4x2-2 -4x2= x5-2 4x2= -x5+2 x2= (-x5+2)/4 x= ((-x5+2)/4))1/2 On Autograph software, I will draw the equation y = g(x) = ((-x5+2)/4))1/2 and the line y = x. This is what it looks like below (or see Figure 7): I can see from the diagram directly above for Rearrangement 2 that g'(x) is between 1 and -1, so there should be a convergence. Therefore, my chosen rearrangement is Rearrangement 2, which is: x = ((-x5+2)/4))1/2 So my iterative formula for this rearrangement is: xn+1= ((-xn5+2)/4))1/2 I can see from my graph above that the point of intersections of the two lines is between x = 0 and x = 1.

Conclusion

Both the Newton-Raphson method and the Rearrangement method were fixed point estimates and involved an iterative process. Therefore, these methods were very similar. However, these two methods differ because there is a specific formula for the Newton-Raphson method. Although the Newton-Raphson method was more complicated than the Rearrangement method, it gave a much more rapid rate of convergence. In fact, the Newton-Raphson method gave the most rapid rate of convergence to 6 decimal places, whereas, for the Decimal Search method, it took me very many calculations to converge to 5 decimal places. So, the Decimal Search method gave the slowest rate of convergence. These two methods were not as time-consuming as the Decimal Search method because it did not involve having to find a change of sign in many particular intervals; there was already a convergence towards the particular root I wanted. However, it was really easy to make mistakes on the calculator due the order of the terms in the iterative formulae. I used the Autograph software to draw these graphs. This was so much quicker than drawing the graphs by hand, and Excel does not have the facilities to draw such advanced graphs. The Autograph software was very easy to use and it also helped me to find out which rearrangement of a function were suitable (when carrying out the Rearrangement method) and in which interval the root was in (when using the Decimal Search method). ?? ?? ?? ?? Kosturi Ash 12/3 1

The above preview is unformatted text

Found what you're looking for?

  • Start learning 29% faster today
  • Over 150,000 essays available
  • Just £6.99 a month

Not the one? Search for your essay title...
  • Over 180,000 student essays
  • Every subject and level covered
  • Thousands of essays marked by teachers

See related essaysSee related essays

Related AS and A Level Core & Pure Mathematics essays

  1. MEI numerical Methods

    0.633079233 1/3 0.712208165 1/4 0.761616673 There are two relationships which this graph shows: Assuming ? is +ve, as k -> ?, ? -> 0 Assuming ? is -ve , as k -> -?, ? -> 0 To simplify if K is a positive number then it has a negative correlation,

  2. Analyse the use of three methods which are called the: change of sign, Newton-Raphson ...

    Graphical demonstrations of the failing iterations are shown below: At the required root: g'(x) = 15x2 - 4 6.5x The approximate root is = 1.6 Using x=1.6, g'(x) = (15 x 1.62-4) / (6.5 x 1.6) = 3.308 (3dp) The gradient at this root is not between -1 and 1, but quite steep positively.

  1. Marked by a teacher

    C3 Coursework - different methods of solving equations.

    5 star(s)

    formula. This method is slightly complex even on easy formulas, but when we get really complicated when harder formulas are introduced. This is the hardest bit of the method as the iteration part is really simple, especially with the use of automated software/computer.

  2. Marked by a teacher

    The Gradient Function

    5 star(s)

    x - x+h . 1 = x - (x + h) x + h x x+h x x(x+h) x(x+h) x + h - x h = x - (x+h) = -h = -1 = -1 = -1x-2. hx(x+h) hx(x+h) x(x+0)* x2 *h tends to 0.

  1. Marked by a teacher

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

    3 star(s)

    The equation performs very well from 1950 to 1982. This can be shown in the Figure 7(b) as well. In the same period, the graph is random. However, after 1982 till mid of 1990s, the equation complete fails to predict the increase or decline from the real consumption.

  2. C3 Coursework: Numerical Methods

    Using the Newton Raphson Method was also made simpler using Microsoft Excel. As with change of sign, I used Microsoft Excel to replicate the formulae I used. This was also made simpler using the Auto fill function. As the formulae for the Newton Raphson method was more complex than the

  1. Free essay

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

    Simpson's rule is different to the trapezium rule in that it fits a parabola between successive triples of points, whereas the trapezium rule fits a straight line between successive pairs of points. As a result the number of strips must not be even.

  2. C3 Numerical Solutions to Equations

    = 1.16*10^-6. f(-1.5340701) = -1.08*10^-6. Therefore there is a root as the function is continuous. These two diagrams show the convergence of the iterations at different magnifications. It is shown that the root lies between -1.53407035 and -1.53407025. Taking 1 as the first guess gives the following results Therefore x=0.48269595 ± 0.000000005 f( 0.48269594)

  • Over 180,000 essays
    written by students
  • Annotated by
    experienced teachers
  • Ideas and feedback to write
    your own great essays

Marked by a teacher

This essay has been marked by one of our great teachers. You can read the full teachers notes when you download the essay.

Peer reviewed

This essay has been reviewed by one of our specialist student essay reviewing squad. Read the full review on the essay page.

Peer reviewed

This essay has been reviewed by one of our specialist student essay reviewing squad. Read the full review under the essay preview on this page.