That is a very simple mathematics question.tvboxnow.com- j$ R; m: c+ S% Q# a
Let x = Male, y = Female, z = Child# ~" n# O2 [4 h0 U/ @
6x + 3y + z/2 = 100 Formula 1+ P. _" Z( u% j; k! V2 S# r( x9 ~
x + y + z = 100 Formula 2
% ]3 S1 ]5 s; y' s8 z+ V) n7 n: aSimplify Formula 2 into z, we get z = 100 - x - y Formula 3
, h& t; L+ k7 H( [ Ktvboxnow.comSub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4
; W3 I! ?, p& b+ g+ h3 w公仔箱論壇Formula 4 can change into 11x + 5y = 100 Formula 5
4 B% a4 ?( L; Ytvboxnow.comIn Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.tvboxnow.com$ p3 A+ @0 j# g: b) \
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.
( U) S5 s$ V8 H% }& Y0 @+ EEventually, the answer is 20 female and 80 children and no male. |