That is a very simple mathematics question. , ?! q9 Y$ K r6 [4 F- c7 r0 Z& @Let x = Male, y = Female, z = Child i' o e! G8 m7 c$ d公仔箱論壇6x + 3y + z/2 = 100 Formula 1 ( Z9 [: l, c/ [5 s1 I5 L$ stvb now,tvbnow,bttvbx + y + z = 100 Formula 2 0 Q/ _/ u) f% K, w: U- mSimplify Formula 2 into z, we get z = 100 - x - y Formula 3TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。+ u; S' X+ A; l7 O5 i, H7 r
Sub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4 ! M+ }) z% D* Vtvb now,tvbnow,bttvbFormula 4 can change into 11x + 5y = 100 Formula 5 5 W- N/ g+ x* X/ Gtvb now,tvbnow,bttvbIn Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want. 0 Z# u: S) o- a8 C! b jAnd 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. 1 B5 s( w4 D# }5 V# v5 d公仔箱論壇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 發表 $ y _, z/ R1 g- m# v8 i/ u* n B
11x + 5y = 100 Formula 5
% _2 M" R( r* g2 @4 Y) B5.39.217.7711X must be 0 or multiple of 5 # v* T0 X4 y8 b# D, W& w公仔箱論壇that meanz x must be 0 or 5作者: manstein 時間: 2007-10-15 08:28 PM