• Join over 1.2 million students every month
  • Accelerate your learning by 29%
  • Unlimited access from just £6.99 per month
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  18. 18
  19. 19
  20. 20

Investigate the three different numerical methods used to solve equations.

Extracts from this document...


Solving Equations by Numerical Methods Introduction In this coursework I am going to investigate the three different numerical methods used to solve equations. These include the change of sign method, Newton Raphson method and the Rearranging method. To carry out the investigation I will explain how each method works, using an example of a working equation in each case. I will also show when each of the methods will not work with other equations. I will then compare all three of the methods. Change of sign method Decimal search and Interval bisection are both ways of finding an interval where there is a change of sign. The change of sign can be found on a graph when the line crosses the x-axis. Wherever there is a change of sign there will be a root. These two methods find the interval where the root lies. Decimal Search To find the roots using decimal search, the y-values must be found, using the values of X from 0.1, 0.2, 0.3, all the way up to 1. When a change of sign occurs, this means there is a root lying here. Once the root interval to 1 decimal place has been found, it must then be found to 2 and 3 decimal places and so on to the required number of places. ...read more.


n Xn Xn+1 1 -2 -8.6 2 -8.6 877.8978571 3 877.8978571 -3417800597 4 -3417800597 1.99623E+29 5 1.99623E+29 -3.97741E+88 6 -3.97741E+88 #NUM! 7 #NUM! #NUM! After entering my formula into the spreadsheet, the table confirms what the graph displayed. The curve of the equation is too steep on both sides of the root. When a tangent is drawn at -2 it crosses the x-axis way past the root at -8.6 and so it is diverging away from the root. This confirms that the Newton Raphson method will not find the roots in this case. Rearranging Equations If you use any f(x) equation and rearrange it into the form x = g(x) the point on the graph f(x) where y = 0 (The root) is the same x-value as the point where y = g(x) crosses the line y = x. To find the roots, I need to find the point where the line y = g(x) crosses the line y = x. I will put in an estimate value of x (X0) and it will lead to a better estimate (X1). I have chosen the equation f(x) = x3-3x+1 This can then be rearranged into the form: 3x = x3+1 x = (x3+1) ...read more.


From the table it can be concluded that the Newton Raphson method is the quickest of the three as it shows convergence very quickly each time. The decimal search is the slowest by far of the three methods. It can take around 25 steps to home in on the root. At first the Rearrangement and Newton Raphson methods appear to be the most difficult to use, since the formulas must be calculated before hand. Once the formula has been calculated and inputted for the first estimate, after this it is very simple. When using a spreadsheet it can then just be dragged down until it produces convergence. Even including the calculations needed for the Newton Raphson and rearrangement method, they still prove to be far quicker than either of the change of sign methods. The main advantage of the change of sign method over the other 2 methods is that it is easy to find all of the roots to almost any equation. Overall I would say that the Newton Raphson method is the most efficient of the three. Although there is some preparation before using the method, it still ends up being the quickest. Pure Mathematics 2 Coursework Michael Hatt ...read more.

The above preview is unformatted text

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)

    If that g'(x) < -1 or g'(x) > 1, then we know that the function will not converge to the root but will diverge away. e.g. Let us take a the last g(x) function possible from my f(x) function. x= x5 + 6x2 + 4 --> g(x)

  2. MEI numerical Methods

    Furthermore on excel all you need is the formula, once you've created this that's all you need. For example we can change the value of K and the formula would take this into account and would calculate the new root accordingly.

  1. Numerical solutions of equations

    0.68071 -3.816012x10-4 0.68072 -3.164083x10-4 0.68073 -2.512140x10-4 0.68074 -1.860182x10-4 0.68075 -1.208210x10-4 0.68076 -5.562232x10-5 0.68077 9.577756x10-6 I can see that the change of sign is between x = 0.68076 and x = 0.68077 As there is a change of sign, I can finally say that the root of this function is in the interval [0.68076, 0.68077].

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

    Speed of Convergence To calculate the root to 3 decimal places using decimal search it requires 4 tables of values to calculate the root whereas with x=g(x) iteration and also Newton Raphson only 1 table of values is required. We can thereby conclude that the Decimal search method is the slowest.

  1. This coursework is about finding the roots of equations by numerical methods.

    What can cause failure? One reason that the decimal search can fail is that there are several roots very close together in the same integer range. For example, the equation y=54x�-225x�+309x-140 x y x y x y x y 1 -2 1.61 -0.37533 1.661 -0.04956 1.6661 -0.00509 1.1 -0.476 1.62

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

    0.000655 -1.80072 -1.800689697 -2.47371E-05 0.000655 -1.800704956 0.000315 -1.80072 -1.800704956 -2.47371E-05 0.000315 -1.800712585 0.000145 -1.80072 -1.800712585 -2.47371E-05 0.000145 -1.8007164 6.02E-05 -1.80072 -1.8007164 -2.47371E-05 6.02E-05 -1.800718307 1.77E-05 -1.80072 -1.800718307 -2.47371E-05 1.77E-05 -1.800719261 -3.5E-06 -1.800719 -1.800718307 -3.5084E-06 1.77E-05 -1.800718784 7.11E-06 In this spreadsheet, a and b are the two values of intervals.

  1. C3 COURSEWORK - comparing methods of solving functions

    or -0.54113([-1, 0]) or 0.82868([0, 1]). Hence g?(root) in the interval [0, 1]= -1.4617 As g?(x) < -1, we can expect that the iteration to diverge away from the root in a cobweb fashion. This can be shown on the graph above, and therefore this must be correct.

  2. Evaluating Three Methods of Solving Equations.

    This is because of the gradient at the root. If the gradient of the curve at the root is less than -1, then the cobweb expands, so the iterations will never approach the root. Comparisons: To make a comparison of the three methods, I decided to take the formula x3-3x2-15x-12 for which I have earlier applied the fixed point iteration method.

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