That is a very simple mathematics question.公仔箱論壇% |7 \! A4 X8 t3 p8 F+ g
Let x = Male, y = Female, z = Child5.39.217.778 Z2 F2 y+ L8 p! v" K
6x + 3y + z/2 = 100 Formula 1tvb now,tvbnow,bttvb9 |# e" o7 ]0 U8 |3 w; _
x + y + z = 100 Formula 2
: |. S* u8 r6 q3 N7 L" f公仔箱論壇Simplify Formula 2 into z, we get z = 100 - x - y Formula 3
" I# ]0 \0 X, |3 iSub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 42 O4 x5 |9 b. H! b/ p4 N6 c, }3 D& B" ?
Formula 4 can change into 11x + 5y = 100 Formula 5tvb now,tvbnow,bttvb( r4 M6 j! E) t( J
In Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.5.39.217.77$ d0 d2 x2 x! B+ J/ S: d# _
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.
2 O, o0 ]0 P, x1 }* ?公仔箱論壇Eventually, the answer is 20 female and 80 children and no male. |