That is a very simple mathematics question.公仔箱論壇; N; L* b I8 O0 ~
Let x = Male, y = Female, z = Childtvb now,tvbnow,bttvb' X$ i: J' O7 m. f5 {
6x + 3y + z/2 = 100 Formula 1
8 n! _, f9 |1 \9 T7 y2 Ztvb now,tvbnow,bttvbx + y + z = 100 Formula 2* i$ _. S) U4 y% z L! {
Simplify Formula 2 into z, we get z = 100 - x - y Formula 3公仔箱論壇6 Y+ K+ X# u" @
Sub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 45.39.217.767 G5 n6 x3 D2 q
Formula 4 can change into 11x + 5y = 100 Formula 5
$ F8 s5 z8 t# |3 y# ttvb now,tvbnow,bttvbIn Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.6 p0 o# d" N! a% l, x6 x
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.
. Q0 u4 j! R* m. Dtvb now,tvbnow,bttvbEventually, the answer is 20 female and 80 children and no male. |