Newton as better fixed-point choice

Clear[x,f]
g[x_]:=x-f[x]/f'[x]
g'[x]
g''[x]
f[x_]=x^2-x-2

It’s all in the derivatives:

Plot[{g[x],x,f[x]},{x,0,4}]