There was an error while loading. Please reload this page.
1 parent 87b3623 commit 115bdf5Copy full SHA for 115bdf5
algorithm/bi-divide.md
@@ -191,7 +191,7 @@ cout<<"then num in "<<k<<endl; //找到查找的数,输出结果
191
192
**⑵ f(x1)*f(x2)>0,则确定根x不在区间[x1,x2]内,设定[x2,x2+1]为下一个搜索区间**
193
194
- **⑶ f(x1)*f(x2)<0,则确定根x在区间[x1,x2]内。****
+ **⑶ f(x1)*f(x2)<0,则确定根x在区间[x1,x2]内。**
195
196
如果确定根x在区间[x1,x2]内的话(f(x1)*f(x2)<0),如何在该区间找到根的确切位置。采用二分法,将区间[x1,x2]分成左右两个子区间:左子区间[x1,x]和右子区间[x,x2](其中x=):
197
0 commit comments