That is a very simple mathematics question.公仔箱論壇; |7 `. l+ s V7 a8 M# r
Let x = Male, y = Female, z = Child
' Z* j% Y3 Q: y% |. `6x + 3y + z/2 = 100 Formula 1. M" }! n* H3 T) d
x + y + z = 100 Formula 25.39.217.779 f2 x$ C$ t7 ~6 S
Simplify Formula 2 into z, we get z = 100 - x - y Formula 3
4 a$ E% E. s2 W+ P% z: I" b/ _! c. Rtvb now,tvbnow,bttvbSub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4
7 E! s: U1 w/ [* q; S5.39.217.77Formula 4 can change into 11x + 5y = 100 Formula 5
# q5 o) ] @8 EIn Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.
# m2 g) l2 ~2 q1 O) l1 sAnd 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.
: x5 R7 m) e3 ]- Qtvb now,tvbnow,bttvbEventually, the answer is 20 female and 80 children and no male. |