That is a very simple mathematics question.
7 v0 l, _9 ?7 |- n5 h' U公仔箱論壇Let x = Male, y = Female, z = Child
0 U P: p- T8 B7 ~4 ^6x + 3y + z/2 = 100 Formula 1公仔箱論壇8 L4 l3 e4 z3 i, c
x + y + z = 100 Formula 2
4 d1 h0 r5 f5 M1 Y) p8 U- c; [- fSimplify Formula 2 into z, we get z = 100 - x - y Formula 3
" B+ {+ T3 I% o) OSub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 43 s+ \* I' `8 T- i" U% I4 g1 p: c$ C
Formula 4 can change into 11x + 5y = 100 Formula 5
9 m" u8 t Q( s: Ftvb now,tvbnow,bttvbIn Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.tvb now,tvbnow,bttvb8 f- C: r/ a' ^" R' C3 \
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.
$ {. B# H2 c5 r: \6 DEventually, the answer is 20 female and 80 children and no male. |