That is a very simple mathematics question.- p [3 }* L) `2 W# q2 C* ?
Let x = Male, y = Female, z = Child
0 m7 g5 {9 T9 R" V2 ^tvb now,tvbnow,bttvb6x + 3y + z/2 = 100 Formula 1tvb now,tvbnow,bttvb( s y* P6 U' ? |* ^+ ^2 u" ?
x + y + z = 100 Formula 2
6 o6 m/ Y4 I- I2 KSimplify Formula 2 into z, we get z = 100 - x - y Formula 3
; X; p- Q- r- ?) B! A0 ?! _9 y公仔箱論壇Sub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4
5 I' G: t! z% I* d4 J" \$ M$ VFormula 4 can change into 11x + 5y = 100 Formula 5
6 X* z/ h0 P* E1 R6 ?5.39.217.76In Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.公仔箱論壇6 ~8 @, a4 a2 V+ y, C3 ~6 c
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.
' C* A' }) s9 d' y( p4 YEventually, the answer is 20 female and 80 children and no male. |