- 精华
- 0
- 积分
- 469
- 经验
- 469 点
- 威望
- 0 点
- 金钱
- 719 ¥
- 魅力
- 495
|
Q. 问程序员与统计员加到一块的平均工资是否小于(X+Y)/2?
1. set 程序员(P) 的平均工资是X,统计员(S)的平均工资是Y
2. ==>then (XP+SY)/(P+S)
condition 1: P>S , asking: (XP+SY)/(P+S) 是否小于(X+Y)/2?
R: that is : (XP+SY)/(P+S) - (X+Y)/2 < or > 0 ==> (P-S)(X-Y)/2(P+S) ==> X> or < Y ? we don't know==> insufficient
condition2: Y-X=4200==> Y=4200+X ==> same way: (XP+SY)/(P+S) - (X+Y)/2 < or > 0 ==> (P-S)(X-Y)/2(P+S) ==> COndition 1+2 : (P-S)(X-Y)/2(P+S)<0 ==> (XP+SY)/(P+S) > (X+Y)/2.
thanks! |
|