0≤x≤1,0≤y≤1,0≤z≤1
k=x+y(1-x)+z(1-x)(1-y)
从上式可以看出z=1,k有最大值
k=x+y(1-x)+1*(1-x)(1-y)=1
检验:
x=1,y(1-x)=0,z(1-x)(1-y)=0,k=1
y=1,z(1-x)(1-y)=0,k=x+1-x=1
因此0≤k≤1
0≤x≤1,0≤y≤1,0≤z≤1
k=x+y(1-x)+z(1-x)(1-y)
从上式可以看出z=1,k有最大值
k=x+y(1-x)+1*(1-x)(1-y)=1
检验:
x=1,y(1-x)=0,z(1-x)(1-y)=0,k=1
y=1,z(1-x)(1-y)=0,k=x+1-x=1
因此0≤k≤1