Skip to content

Commit 115bdf5

Browse files
committed
Update bi-divide.md
1 parent 87b3623 commit 115bdf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

algorithm/bi-divide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ cout<<"then num in "<<k<<endl; //找到查找的数,输出结果
191191
192192
​ **⑵ f(x1)*f(x2)>0,则确定根x不在区间[x1,x2]内,设定[x2,x2+1]为下一个搜索区间**
193193
194-
​ **⑶ f(x1)*f(x2)<0,则确定根x在区间[x1,x2]内。****
194+
​ **⑶ f(x1)*f(x2)<0,则确定根x在区间[x1,x2]内。**
195195
196196
​ 如果确定根x在区间[x1,x2]内的话(f(x1)*f(x2)<0),如何在该区间找到根的确切位置。采用二分法,将区间[x1,x2]分成左右两个子区间:左子区间[x1,x]和右子区间[x,x2](其中x=):
197197

0 commit comments

Comments
 (0)