That is a very simple mathematics question.公仔箱論壇/ M, b! V( F0 Z$ U: O5 R; z4 A: R
Let x = Male, y = Female, z = Child5.39.217.77: n7 V: \: z& V" ?6 `( K
6x + 3y + z/2 = 100 Formula 15.39.217.77" _* e0 `8 M9 }8 x5 D+ b$ s: @
x + y + z = 100 Formula 2
( [( l* `& e& [' cSimplify Formula 2 into z, we get z = 100 - x - y Formula 3tvb now,tvbnow,bttvb) ~6 C% ~1 x$ N+ J9 q
Sub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4
6 z0 X' p7 l3 Q* [' f1 d, P& ~Formula 4 can change into 11x + 5y = 100 Formula 5
2 U. ^8 w) e9 e, r5.39.217.77In Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.
3 J6 B8 w- Y7 o9 R, _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.
- Q* C j8 ^7 q% a! _9 U$ GEventually, the answer is 20 female and 80 children and no male. |