Finding one root of an equation by a change of sign method, to 4 figures.

Authors Avatar

Halley Porkess        Pure 2 Coursework        08/05/2007        

Finding one root of an equation by a change of sign method, to 4 figures

Using the bisection method, I am going to find one root for the equation , the graph of which is shown below, where one division on the x-axis represents 1, and one division on the y-axis represents 14.

From the graph it can be seen that there is a root between 1 and 2, it is this root that I will try to find using the bisection method:

In the spreadsheet above, n is the iteration number. an is the lower bound, bn is the upper bound, and xn the bisection of the interval [1,2] and f(xn) is the value of y, for that particular value for x. If y > 0 then an remains the same, and the last value of xn becomes bn. If however, y < 0 then bn remains the same, and an becomes the value of xn in the previous iteration. f(an) and f(bn) are included to give an idea of how close to the root an and bn are. The diagram below shows how the bisection method works.

The blue and green lines represent the original lower and upper bounds. The purple lines represent the average value of the lower and upper bounds. These get closer to the root, as the diagram shows. (This is actually the graph of , on a different scale)

Join now!

The root of the equation  in the interval [1, 2] is , and the error bounds are 1.175537 and 1.175781.

However, when solving the equation , the change of sign method does not work.

As the graph of  above shows, there is a root between 1 and 2, but when x is 1, y is positive, however when x is 2, y is positive again. So because there is no change of sign, the change of sign method does not work for equations which have a minimum when y = 0.


Using the Newton- Raphson method ...

This is a preview of the whole essay