That is a very simple mathematics question.
' L+ f1 @6 [2 @3 q0 w. a9 ~公仔箱論壇Let x = Male, y = Female, z = Child* x: x: T9 G; F: G0 [3 `' O6 B; e
6x + 3y + z/2 = 100 Formula 1TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。4 E7 F2 a+ X/ n7 Y
x + y + z = 100 Formula 2
1 t2 T9 K/ ? n0 a6 lTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。Simplify Formula 2 into z, we get z = 100 - x - y Formula 3
: {. \: h* x4 d5 c9 J4 S) gTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。Sub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4公仔箱論壇5 C% X) c0 M% x, P/ l9 ]
Formula 4 can change into 11x + 5y = 100 Formula 5
/ ?6 P6 w* |- n" S$ B4 bIn Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.
( q' B* f) g, I9 ^tvb now,tvbnow,bttvbAnd 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,bttvb2 Z1 ^1 Z8 q2 l$ }, r% J6 z2 f
Eventually, the answer is 20 female and 80 children and no male. |