# A-level Mathematics/OCR/FP2/Numerical Methods

## The Newton-Raphson method[edit]

The best way to find a root of a function is to use the Newton-Raphson method; this uses a series of tangent lines to estimate the value of the root. The first number in the series is chosen from either one of the previous methods or semi-randomly. We can find the value of a function to a certain degree when the to the specific number of digits. This method may not work always because if f'(x) = 0 the function will be undefined at this point the function will diverge.

#### Example[edit]

The graph that we have above is actually the same function that Newton used to demonstrate the theory. Find the value of the root accurate to six decimal places.

We are going to use 2.05 as the first value.

Now we use this output for the next input and so on.

The root is approximately 2.094551. If we plug this into the original function we get -.00000000000004 which is very close to zero.