由题意得f(x1)=O,f(x2)=0, ∴f(x1)=f(x2) ①
因此①②矛盾,假设不成立,故f(x)=0至多有一个零点.
端点(中点)坐标
|
计算中点的函数值
|
取区间
|
f(1)=-2<0
|
f(6)=6>0
|
[1,2]
|
x1=(1+2)/2=1.5
|
f(x1)=0.625>0
|
[1,1.5]
|
X2=(1+1.5)/2=1.25
|
f(x2)=-0.984<0
|
[1.25,1.5]
|
X3=(1.25+1.5)/2=1.375
|
f(x3)=-0.260<0
|
[1.375,1.5]
|
X4=(1.375+1.5)/2=1.438
|
f(x4)=0.165>0
|
[1.375,1.438]
|
X5=(1.375+1.438)/2=1.4065
|
f(x5)=-0.052<0
|
|
例3题图
|
x
|
1
|
-2
|
-1
|
0
|
y
|