That is a very simple mathematics question.
7 S4 x; T( U lLet x = Male, y = Female, z = Child公仔箱論壇3 u! w; F' e* l# V
6x + 3y + z/2 = 100 Formula 1tvb now,tvbnow,bttvb- G0 ?2 ^/ z8 n4 k* b9 y) N
x + y + z = 100 Formula 2
+ O3 O$ `# t+ M3 K; eos.tvboxnow.comSimplify Formula 2 into z, we get z = 100 - x - y Formula 34 s a0 P$ \0 }3 B
Sub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4tvb now,tvbnow,bttvb% [& N& q% h9 r8 b3 ?
Formula 4 can change into 11x + 5y = 100 Formula 5$ B" P9 z0 }% O
In Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.os.tvboxnow.com: D# s& O0 D, J
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.tvb now,tvbnow,bttvb& }7 h" k+ A4 T
Eventually, the answer is 20 female and 80 children and no male. |