1 | initial version |
Your function has argument order func, deri, start, iters but you are calling it with start, func, deri, iters... By changing it I got
sage: newMet(tf, x, 1.)
1.41421356237310
which looks like $\sqrt(2)$.
2 | No.2 Revision |
Your function has argument order func, deri, start, iters but you are calling it with start, func, deri, iters... By changing it I got
sage: newMet(tf, x, 1.)
1.41421356237310
which looks like $\sqrt(2)$.$\sqrt{2}$.