That is a very simple mathematics question.* W# k# D% \0 [9 B# r! Z6 X- s& `
Let x = Male, y = Female, z = Child公仔箱論壇0 c* h! X j- T7 V' {
6x + 3y + z/2 = 100 Formula 1
5 J3 g4 k% a5 ?# R5 ctvb now,tvbnow,bttvbx + y + z = 100 Formula 2TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。2 g* I8 C8 P9 p" K f: w3 |
Simplify Formula 2 into z, we get z = 100 - x - y Formula 3tvb now,tvbnow,bttvb \% z! h" s$ G, g! J, V
Sub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4
6 ]# s1 G/ n1 y U# j公仔箱論壇Formula 4 can change into 11x + 5y = 100 Formula 5tvb now,tvbnow,bttvb3 {2 E/ j/ @) J" o9 C& I
In Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.: x* b7 n' r, W
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.tvb now,tvbnow,bttvb1 k5 s0 v: r8 K" m$ g! W
Eventually, the answer is 20 female and 80 children and no male. |