In my coursework I will be using three equations to investigate their solutions using three numerical methods which are: change of sign using Newton-Raphson by finding the fixed point iteration fixed point iteration after rearranging the equa

Authors Avatar

Numerical Methods

In my coursework I will be using three equations to investigate there solutions using three numerical methods which are:

  1. change of sign using
  2. Newton-Raphson by finding the fixed point iteration
  3. fixed point iteration after rearranging the equation f(x) = 0 into the form x = g(x)

Change of sign 

This method involves finding an interval in which f(x) changes sign.

I am using the function f(x) = 2x³ – 5x² – 4x + 1 for this method

I have used autograph to show the graph of y= 2x³ – 5x² – 4x + 1

Here is the table of values

This shows that there are three intervals containing roots:

[–1,0], [0,1] and [3,4].

 

It can be seen that f(-1) > 0 and f(0) < 0 so there is a root in the interval [-1,0].

Bisection

In this method the interval is successively halved by looking at the value of f(x) at its

mid-point. For the root in the interval [-1,0], you next try an x-value of-0.5.

f(-0.5) = 1.5

Since this is positive the root lies in the interval [-1,-0.5]. The next value I’ll try is the midpoint of the new interval, -0.75

f(-0.75) = 0.34375

f(-0.875) = -0.66797

So I can see that the root lie between -0.75 and -0.875

So I now try and find the root by finding f(x) of the mid point between [-0.75, -0.875]

f(-0.8125) = -0.12354

f(-0.78125) = 0.119568            to do this method I have used a calculator

f(-0.79688) = 0.000365           and recorded my values in a table on excel

Decimal Search

A follow on from the bisection I can see that the root is between [-0.8125, -0.79688] so for this method I will try the different decimals until I become 7 d.p from the root.

Join now!

Here is some variation of the decimals.

-0.79693 x10^ˉ7 is the closest I found that is 7d.p from 0.

Error bounds are (x = -0.79693 ± 0.000005) and my solution bounds are    (-0.796925x -0.796935)

This is the equation used for this graph

I am going to demonstrate that the root that lies between (1,5) can not be solved using the change of sign method.

I can now see from both the graph and the ...

This is a preview of the whole essay