已知非负整数x、y、z,满足(x-1)/2=(6-y)/3=(z-3)/4,设w=3x+4y+5z,求w的最大值和最小值?
问题描述:
已知非负整数x、y、z,满足(x-1)/2=(6-y)/3=(z-3)/4,设w=3x+4y+5z,求w的最大值和最小值?
答
y=6-3(x-1)/2 z=3+2(x-1)
w=x+[6-3(x-1)/2]+{3+2(x-1)}
=(3x+11)/2
=
已知非负整数x、y、z
w最大无穷大最小为11/2