That is a very simple mathematics question.
# h1 J' |1 O) ~$ v# u7 W4 BLet x = Male, y = Female, z = Child
: x$ A/ r6 a( t& ?2 H6x + 3y + z/2 = 100 Formula 1
! N' ~$ M( y( r# {- ~- k; ~tvb now,tvbnow,bttvbx + y + z = 100 Formula 2* P5 a; f) L5 x
Simplify Formula 2 into z, we get z = 100 - x - y Formula 3
8 l& c) Y0 b/ P* rtvb now,tvbnow,bttvbSub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4
4 x9 W, u5 o" w. Z& H2 GFormula 4 can change into 11x + 5y = 100 Formula 55.39.217.77:8898. h* r) [: D+ p' }5 {
In Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.公仔箱論壇& W( \$ [6 p B8 _" o7 F0 }
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.
6 C8 k5 C" x% E* zEventually, the answer is 20 female and 80 children and no male. |