That is a very simple mathematics question.tvb now,tvbnow,bttvb# d: m8 D+ w& ]6 e# ^0 h
Let x = Male, y = Female, z = Child
, ]% b- u; b4 a( G7 f- s) A. _# C5 b6x + 3y + z/2 = 100 Formula 1" h1 @% N/ t9 ~2 X1 L) j0 L$ }
x + y + z = 100 Formula 25.39.217.779 O# l: ?! {2 ?
Simplify Formula 2 into z, we get z = 100 - x - y Formula 3
7 g }- c! J# X; X" ^: bSub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4
1 f; S \8 g" O0 ntvb now,tvbnow,bttvbFormula 4 can change into 11x + 5y = 100 Formula 5公仔箱論壇8 {6 m, h' H; ~& U* A0 g1 y: a
In Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.tvb now,tvbnow,bttvb; P7 E Q( R+ G$ M% |0 ]
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.
2 b4 j. p( p: e8 I' O1 j公仔箱論壇Eventually, the answer is 20 female and 80 children and no male. |