I am trying to solve this problem.I need to find a zero of a given function with Newton's method of tangents.The condition is
and then calculate
I am now sure that this is the right way to find a zero with the Newton's method of tangents.
If you can check.Thank you.
f[x_] := x^2 - 7*x + 6; For[i = -10, i < 10, i++, If[f[i]*f''[i] > 0, Print[i \[Minus] (f[i]/f'[i])]]]