That is a very simple mathematics question.5 S( A! W9 m* f/ p: m) O1 N5 u
Let x = Male, y = Female, z = Child
: k! k8 z2 g8 U5 c公仔箱論壇6x + 3y + z/2 = 100 Formula 1公仔箱論壇! I1 B$ X: U7 C3 U- H% `# F) K
x + y + z = 100 Formula 26 L4 ?% L9 j! z1 c
Simplify Formula 2 into z, we get z = 100 - x - y Formula 3
% Z- u& R" B# P) e2 H- D4 ^tvb now,tvbnow,bttvbSub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4( h1 b' ?$ s, A5 p* x
Formula 4 can change into 11x + 5y = 100 Formula 5# O/ x: B. D6 Z! A( B
In Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.
& J7 D# z% k4 n1 v$ p3 B$ r; P( ]4 hAnd 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.
' u8 u2 X+ I3 o, a! x( s0 _公仔箱論壇Eventually, the answer is 20 female and 80 children and no male. |