That is a very simple mathematics question.公仔箱論壇: j0 r, R9 F3 j/ r/ x# Z2 B0 O
Let x = Male, y = Female, z = Child" b8 W2 f: \ Z# i* M' s
6x + 3y + z/2 = 100 Formula 1: e- L% r; k. ~1 \ {0 c
x + y + z = 100 Formula 2公仔箱論壇$ d7 L6 Z9 r* @0 A
Simplify Formula 2 into z, we get z = 100 - x - y Formula 3
. m; s7 Z S* dwww3.tvboxnow.comSub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4
M M; y! h- yFormula 4 can change into 11x + 5y = 100 Formula 5
$ u; \9 k: V4 tIn Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.
/ D9 D( n1 R- B& Z8 Owww3.tvboxnow.comAnd 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.www3.tvboxnow.com( o* c" H3 X1 e0 @! v/ I
Eventually, the answer is 20 female and 80 children and no male. |