That is a very simple mathematics question. 1 g7 Q$ g/ B/ iLet x = Male, y = Female, z = Child' z. f, j9 o* u6 q
6x + 3y + z/2 = 100 Formula 1 4 k9 y( P* o, a j0 N公仔箱論壇x + y + z = 100 Formula 2! D9 R0 r$ f5 }; e4 J+ Z
Simplify Formula 2 into z, we get z = 100 - x - y Formula 3公仔箱論壇4 w! Z1 @) b m$ J6 I
Sub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 45.39.217.76! t7 j* d8 F, H0 j
Formula 4 can change into 11x + 5y = 100 Formula 55.39.217.761 N+ i, c& [* f3 i- W
In Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want. 3 K) J+ K& C* L* ~! f" I, O/ oTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。And between 0 and 9, only 0 can give me a single number of y. So, x has to be 0 and y have to be 20. Then put x and y back to formula 1, we get z = 80. % z1 Y6 y. E# q% JTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。Eventually, the answer is 20 female and 80 children and no male.作者: alan1234 時間: 2007-10-14 12:19 AM 標題: two answers
原帖由 twinsdragon 於 2007-10-13 05:40 PM 發表 + a9 E+ @" V2 s
11x + 5y = 100 Formula 5
& {. R6 M* }" O$ Otvb now,tvbnow,bttvb11X must be 0 or multiple of 5 d, u7 n8 T% p7 k4 tthat meanz x must be 0 or 5作者: manstein 時間: 2007-10-15 08:28 PM
86 children, R) n+ x/ t; X0 T) j7 \3 g; ^
5 male $ [" i `$ t# f. C" Atvb now,tvbnow,bttvb9 female作者: dafunhei123 時間: 2007-10-15 10:39 PM