That is a very simple mathematics question.
& j" j- \+ F( `公仔箱論壇Let x = Male, y = Female, z = Child
1 l S3 F0 D8 Z) `( x+ ltvb now,tvbnow,bttvb6x + 3y + z/2 = 100 Formula 14 W; G& d* Z+ B3 b
x + y + z = 100 Formula 25.39.217.77:88982 M# M$ k& M8 ^9 |# c
Simplify Formula 2 into z, we get z = 100 - x - y Formula 3
6 t. J6 Z5 D, t- B. G5 DSub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4
6 b4 }' |& ~* H& `公仔箱論壇Formula 4 can change into 11x + 5y = 100 Formula 54 y3 I9 W% r+ H. Y
In Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.
6 ` Y( B: K( T( V5 ptvb now,tvbnow,bttvbAnd 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.. B7 h2 }5 _5 S3 u
Eventually, the answer is 20 female and 80 children and no male. |