In this coursework I will be looking at equations that cannot be solved algebraically

Authors Avatar

C3 coursework

Anna Westland

7134

Core 3 Coursework

        In this coursework I will be looking at equations that cannot be solved algebraically. Instead I will look at three numerical methods for solving them: the change of sign method; the Newton-Rhapson method; and the rearranging method.

Change of Sign Method – Decimal Search

I am going to solve the equation  using the decimal search (change of sign) method. I will find the y-values and look for the point at which there is a change of sign, because if there is a change from positive y to negative y then the curve must pass through the x-axis so there will be a root.

Here is a graph of the function

       

There is only one root; it lies between the integer bounds [-1,0]

I have calculated the corresponding y-value for each x-value within this range, 1 decimal place apart.


Again the change of sign is highlighted; the root must lie between [-0.42,-0.41], so I will investigate these values.

The root lies between [-0.411,-0.410], these will be the error bounds, so I will find the midpoint of these to determine which bound is closer to the root.

There is a change of sign between -0.4105 (the midpoint) and -0.411; so the root to 3 d.p will be -0.411.

Failure of the Change of Sign Decimal Search Method

I will now demonstrate a case where decimal search will fail to find the root.

I will use the equation

Here is a graph of the function

The graph clearly shows that there is a root between the integer bounds [2, 3], and it seems there may be roots between [5, 6] but it is not clear.

Using decimal search, I have calculated the integer values for x from [2, 6]

This table shows that there is s change of sign (and therefore a root) between [2, 3] but there is no change of sign anywhere else in the table, so according to the decimal search method there is no root between [5,6].

Even by doing a search to 1 decimal place between [5, 6], still no change of sign is found, so it is assumed there are no other roots.

However, by simply zooming in on the graph it is clear that the curve does cross the x-axis again twice between [5, 6] at 5.22 and 5.23. This is not shown by the decimal search method as both the roots are between [5.2, 5.3].

Join now!

Newton-Raphson Method

I am going to solve the equation  using the Newton-Raphson method.

Here is a graph of the function:

                         

It has three roots that lie within the integer bounds [-1,0], [1,2] and [2,3]. I will solve the root between [2, 3]

This method begins with a line being drawn up from the highest integer bound of the root (in this case it will be 3) from the x-axis, this x-value is called x0. At the point where ...

This is a preview of the whole essay