Pure Mathematics - In this coursework, I will be investigating and comparing the use of 3 different numerical methods for finding roots of equations.

Authors Avatar

Azeem Mir

Pure Mathematics 2 Coursework

Introduction

In this coursework, I will be investigating and comparing the use of 3 different numerical methods for finding roots of equations. The numerical methods that I will be using for this coursework are as follows:

  1. Change of sign: Decimal search
  2. Fixed point iteration: Newton-Raphson Method
  3. Rearranging f(x)=0 to the form x=g(x)

Change of Sign: Decimal Search

For this method I will be using the above equation:  x³-4x²-3x+5=0. The first step for this method is to construct a table of values that range the values of the x-axis that the graph passes:

F(x) changes sign between [-2,-1], [0,1] and [4,5]; indicating that a root lies between each of these x co-ordinates. The next few steps can now be repeated to obtain a more accurate value, taking x1 and x2 to be the lower and upper possible bounds of x. I shall be testing x between 4 and 5.

The table below gives the corresponding y-values for the f(x) values between x1=4 and x2=5. From this, it can be seen that a root lies between x=4 and x=5.

The new values of x would be x1=4.4 and x2=4.5. These steps can be repeated to a necessary level of accuracy; each time gaining an extra decimal place. So far, x can be expressed as x=4.45 ±0.05, or 4.4<x<4.5. To get it to an accuracy of ±0.0005 28 steps are required:

Join now!

So x=4.4227 ±0.0005. To prove that this is a root I will now enter this value with an additional 0.00005 above and below into the original equation which give two results one positive and one negative:

F(4.42265)= 4.42265³-4*4.42265²-3*4.42265+5

                 = -0.000986573

F(4.42275) = 4.42275³-4*4.42275²-3*4.42275+5

                  = 0.00104335

However, this method sometimes fails to ...

This is a preview of the whole essay