That is a very simple mathematics question.
' I2 @% I& G$ M- [, Rtvb now,tvbnow,bttvbLet x = Male, y = Female, z = Child
; P" ]9 V/ ^: r+ N8 a公仔箱論壇6x + 3y + z/2 = 100 Formula 1% B( j- T6 V; S8 M. ?" L+ [
x + y + z = 100 Formula 2tvb now,tvbnow,bttvb# y# C: S! I/ t
Simplify Formula 2 into z, we get z = 100 - x - y Formula 35.39.217.76* t. O) v, M/ I2 z
Sub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4tvb now,tvbnow,bttvb- y. e3 K5 g I' t: v% ?; x
Formula 4 can change into 11x + 5y = 100 Formula 5
+ z* m' u. b5 j6 vIn Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.tvb now,tvbnow,bttvb3 D R1 D, Z# J/ c& J8 g3 k, ?: q! ~
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.
) o. M% B! Q6 {" ~2 [8 L. FEventually, the answer is 20 female and 80 children and no male. |