That is a very simple mathematics question.
K7 B# l6 k, Z2 o9 @! O- S: G公仔箱論壇Let x = Male, y = Female, z = Child3 d) X! Z) N" R1 C- {5 r
6x + 3y + z/2 = 100 Formula 1
) t$ p# ?9 ^6 Z# P" t- TTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。x + y + z = 100 Formula 24 a# l C+ ~& W$ p
Simplify Formula 2 into z, we get z = 100 - x - y Formula 3tvboxnow.com! {+ E% S9 {4 L, b8 c
Sub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4tvb now,tvbnow,bttvb$ h$ }8 s0 }) ]2 f( w
Formula 4 can change into 11x + 5y = 100 Formula 57 H. |7 }" u! W: c5 b! u
In Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.tvboxnow.com* G0 i6 K8 J3 B, H, d" ^% r
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.
& n) i) {8 z8 A0 @: W& s公仔箱論壇Eventually, the answer is 20 female and 80 children and no male. |