That is a very simple mathematics question.
; T+ w, e9 ^, R* LLet x = Male, y = Female, z = Child
9 {; v: y9 Q9 H* D3 l' H4 L公仔箱論壇6x + 3y + z/2 = 100 Formula 1
5 r+ [1 H" |- Q$ O8 j/ gx + y + z = 100 Formula 2
$ Q ~3 a% g: o! a# Z1 Ttvb now,tvbnow,bttvbSimplify Formula 2 into z, we get z = 100 - x - y Formula 35.39.217.77! L; O1 d, q9 Y! N# r
Sub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4
# ?* D4 B+ M( f公仔箱論壇Formula 4 can change into 11x + 5y = 100 Formula 5
7 }4 y: }( {: z& j4 v1 |tvb now,tvbnow,bttvbIn Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.
* f' u7 g& R/ d# k: l) d* v9 G公仔箱論壇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.
( d! M5 K' ]3 I) b' i0 REventually, the answer is 20 female and 80 children and no male. |