Hange of sign, Newton-Raphson and the rearrangement method and are going to use them to find roots of different equations, and hence

Authors Avatar
INTRODUCTION

For my investigation, I will analyse the use three methods which are called the: change of sign, Newton-Raphson and the rearrangement method and are going to use them to find roots of different equations, and hence compare the merits and flaws of the methods with each other. I will analyse which is the best in terms of factors such as a speed of convergence and ease of use with available software and hardware.cocb

1. For Change of sign method (Decimal search) I use these equations:

2. For Newton-Raphson method (Fixed point iteration) I use these equations:

-3ex +2x3+6=0

x3-2x2-2x+3=0

3. For Rearranging f(x) = 0 in the form x = g(x), I use these equations:

In my course work, I will use computer (hardware) and Autograph (plot the graph), and

Microsoft Excel (spreadsheet), Microsoft Word.

Change of sign method:

This method finds the roots of an equation by looking at the points where the graph crosses x axis. In these case the value of f(x) change sign from positive to negative or vice versa. And the root must be some where between two values that change.

For this equation:

Function . I am going to use the decimal search.

Check the shape of the graph

This is quadratic equation a = 6, b = 0, c = -4

D = b2-4ac = 0)2- 4x6x(-4) = 96>0 the graph has 2 turning points.

As the graph shows there are three roots.

I calculated each of the f(x) values in order to see where the change in sign was, as shown in the table on follow page 3 :

There is a root in the interval of [1, 2] which I have chosen to investigate. Now I use excel to calculate the change values of f(x) by taking increments in x of size 0.1 for the equation that we are using.

As the graph and the table show, there is a change of sign between x=1.5 and x=1.6. and thus the new interval in [1.5,1.6]. I then take decimal search to 2 decimal places. The result is:

I will carry on using this method to find the root to 6 decimal places for accuration. And the result tables are placed on the next page..

By increasing in x of size 0.001

By increasing in x of size 0.0001

By increasing in x of size 0.00001
Join now!


So, using these tables we can say that the root is 1.525685 with maximum error bounds of 0.000005

Where this method fails

The change of sign method was succesfull in the equation above. However it can fail in many cases when the curve touches the x axis, but does not cross it. It is repeated root, so it does not have the change of sign from positve to negetive or vice versa. Therefore the change of sign can not be carried on. For this case I'll survey this equation: .

x

f(x)

-3
...

This is a preview of the whole essay