That is a very simple mathematics question.
+ q$ C% G5 B+ _# S6 P5 |/ yLet x = Male, y = Female, z = Child
# w( R& b( z# w# S. ]3 c5 P6x + 3y + z/2 = 100 Formula 1
6 l3 a% m! C! F- x. O8 `TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。x + y + z = 100 Formula 2
( Y/ c. W6 N$ D+ O4 K5 etvb now,tvbnow,bttvbSimplify Formula 2 into z, we get z = 100 - x - y Formula 3www2.tvboxnow.com* W4 H! r9 F7 f( b
Sub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4
n. J3 K& g+ m6 K1 V公仔箱論壇Formula 4 can change into 11x + 5y = 100 Formula 5
: q/ H" X/ s9 P+ g+ {www2.tvboxnow.comIn Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.公仔箱論壇7 S: K K) y; w+ [3 a+ p) k
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 S4 F& J% [* J$ WEventually, the answer is 20 female and 80 children and no male. |