That is a very simple mathematics question.
L& ~7 k9 L9 y* V6 Htvb now,tvbnow,bttvbLet x = Male, y = Female, z = Child3 K7 D& g9 m2 r; s- [
6x + 3y + z/2 = 100 Formula 1
% {5 G& A, h( l+ Px + y + z = 100 Formula 2公仔箱論壇$ Y8 |* ^2 l- c1 }
Simplify Formula 2 into z, we get z = 100 - x - y Formula 3
9 C% [" B* m6 B4 xtvb now,tvbnow,bttvbSub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4. O% V) D% W# a' Z
Formula 4 can change into 11x + 5y = 100 Formula 5公仔箱論壇) ~) }0 V& }" R1 A; z
In Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.& S6 z( l$ M: k, G! f2 t& c) Z
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.. V9 s7 r) u, V" Q/ h/ }) u, F
Eventually, the answer is 20 female and 80 children and no male. |