repeated-newton-method