- UID
- 579779
- 在线时间
- 小时
- 注册时间
- 2010-11-3
- 最后登录
- 1970-1-1
- 主题
- 帖子
- 性别
- 保密
|
189. 一堆小朋友分铅笔和钢笔,要么每人1pen2pencil,要么3pen1pencil,似乎是这样,给了一个pencil的平均数是1.6。求pen的平均数。 狗主人补充:挺好算的,设两种分发人数分别为a,b,带入1.6那个可以得出一个a,b的比例关系,不难。
category 1pen2pencil 3pen1pencil # of kids a b # of pen a 3b # of pencil 2a b
Therefore, the total # of kids = (a + b); the total # of pen = (a + 3b); and the total # of pencil = (2a + b) Accordingly, the average pencil per kid = (2a + b) / (a + b) = 1.6; so 0.4a = 0.6b ; so a = 1.5b The average pen per kid = (a + 3b) / (a + b) = (1.5 b + 3b) / (1.5b + b) = 4.5/2.5 = 1.8 |
|