The secant method replaces the derivative in Newton’s step with the slope through the two most recent function values. Its intersection with the horizontal axis supplies the next estimate. No derivative is required, but a nearly zero difference between the two function values can make the step unreliable.割线法取最近两个点,用它们之间的斜率代替牛顿法中的导数,再把割线与横轴的交点作为下一次估计。它不需要计算导数,但若两次函数值几乎相等,分母过小就可能使迭代步失控。
Starting at 1 and 2 to find the zero of , each stage draws the gold secant and its cyan root estimate . The moving cyan dot follows the straight-line prediction. The view zooms between iterations; gives its horizontal width, so visually similar steps need not have equal numerical size.以 1 和 2 为初值,求 的零点 。每一轮画出金色割线及青色零点估计 ,移动青点沿割线检查线性预测。各轮会放大观察范围; 表示当前视窗的横坐标跨度,因此画面上大小相近的步长,实际数值可能相差很大。