That is a very simple mathematics question.公仔箱論壇! F! w2 e" B, Q( F. V
Let x = Male, y = Female, z = Child
( D6 l* w( x1 W& G9 n公仔箱論壇6x + 3y + z/2 = 100 Formula 1
# I5 j( f9 `7 J6 \x + y + z = 100 Formula 25 F2 ?1 Z4 O5 o
Simplify Formula 2 into z, we get z = 100 - x - y Formula 3
k2 ?4 n* H r* F U" E; Z2 u5 XTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。Sub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4公仔箱論壇9 H# \; p. I- [1 ]: ~8 _- Z: Q6 ?; E
Formula 4 can change into 11x + 5y = 100 Formula 5
9 w- R! V/ e- p2 r; D. J5 cTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。In Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.公仔箱論壇5 s6 H1 F$ M. V- C6 z! {
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.
5 I; p$ h6 d$ _公仔箱論壇Eventually, the answer is 20 female and 80 children and no male. |