The aim of this coursework is to compare three different numerical methods of solving equations. This will allow us to determine which one is the most efficient, quickest and easiest method to use.

Authors Avatar

Pure 2 Coursework

Solution of equations by numerical methods

Introduction

The aim of this coursework is to compare three different numerical methods of solving equations. This will allow us to determine which one is the most efficient, quickest and easiest method to use.

The three methods I will use are:

  • Decimal Search method
  • Newton-Raphson method
  • Fixed Point Iteration method

Software used

For all of the three methods I will be using Autograph, which draws accurate graphs, and shows clearly the different roots. I will use it especially for the Newton-Raphson method and Fixed Point Iteration method to find the roots.

For the Decimal Search method I will be using Excel, because it makes the various calculations easier and faster.

Decimal Search

The decimal search is named as it employs the tactic of splitting the current interval of x values into 10 equal intervals of equal size and looking for a change of sign.

This process is then repeated, again splitting the current interval into 10 equal intervals of equal size and this can be continued until the root has been found to the required degree of accuracy.

The equation that I have chosen to solve is x5 – 2.7x + 1.8 = 0

The graph illustrates y = x5 – 2.7x + 1.8


Zoom of y = x5 – 2.7x + 1.8 between x = -2 and x = 0

We can notice from the graph that y = x5 – 2.7x + 1.8 crosses the x-axis between        x = -2 and x = -1.

To find the smallest root, I will take x = -4 as my starting value, and see the number of iterations required to find the root. The calculations have been done using Excel, and are shown in the next page.


When x = -1.411982, y = -0.000012 and when x = -1.411981, y = +0.000005 (rounded to 6 decimal places).

This shows that there is a change in sign between these values. Therefore the root lies between x = -1.411982 and x = -1.411981. To achieve this answer it took many iterations.

Join now!

Error Bounds

We can therefore establish that the smallest root of the equation is -1.4119815 with a maximum error bound of ±0.0000005.


Failure of the method

If I take as the starting value x0 = 0 to find the value of the other 2 roots of this equation, then a problem is encountered. This is because when I do the calculations, increasing x by step of 1 unit, the roots will be missed as no sign change in the value of f(x) occurs from x = 0 to x =1 ( as shown below).

...

This is a preview of the whole essay