You are on page 1of 1

Newton-Raphson Results

Function:
sin(x)-0.5
Function derivative: cos(x)
Initial guess:

xf :

Max. number of
100
iterations:
Relative error for x: 0.00001
Zero aprox. for f(x),
1e-4
(f(x)<):

Iter

f(xf) :

f(x)

Error in x

0.523599
-5.55E-17

Zero aprox. |f(x)|

-0.5

0.5

-0.020574

0.523444 -1.336352E-04 0.044789

0.523599 -5.950669E-09 2.946816E-04 5.950669E-09

0.523599 -5.551115E-17 1.31231E-08 5.551115E-17

0.020574
1.336352E-04

You might also like