That is a very simple mathematics question.公仔箱論壇, c* C% l4 j6 @, c$ P; H
Let x = Male, y = Female, z = Child
" e) H# p4 `5 H2 r! vtvb now,tvbnow,bttvb6x + 3y + z/2 = 100 Formula 1公仔箱論壇! d# p5 H' v8 C$ S2 g9 r# H
x + y + z = 100 Formula 2
\; e. q$ o: h) c2 A公仔箱論壇Simplify Formula 2 into z, we get z = 100 - x - y Formula 3' |" P: m0 g5 B g4 J# {
Sub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4. b4 @" r# j: w5 B+ u
Formula 4 can change into 11x + 5y = 100 Formula 5
& t, A5 N) ?3 c% ~; y% O' B; Xtvb now,tvbnow,bttvbIn Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.
1 w1 r3 A6 v4 [公仔箱論壇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.
3 N$ I2 W3 i: O# A$ _* }Eventually, the answer is 20 female and 80 children and no male. |