That is a very simple mathematics question.tvb now,tvbnow,bttvb7 e w- b% P `
Let x = Male, y = Female, z = Child
6 d6 M* _! v6 m v( s6x + 3y + z/2 = 100 Formula 1
0 i6 d- x5 M: U/ g# ^0 [9 J$ c( S$ E公仔箱論壇x + y + z = 100 Formula 2
+ b! ? J/ N* d! L/ \$ {3 a. ^公仔箱論壇Simplify Formula 2 into z, we get z = 100 - x - y Formula 34 g3 w8 V' N. v2 \
Sub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4公仔箱論壇9 V1 U q: {/ C3 }5 d
Formula 4 can change into 11x + 5y = 100 Formula 56 j. r) X; ~5 b3 q) u J- ^% k2 T
In Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.
' s/ V5 b+ F& M0 U1 w8 z5.39.217.77:8898And 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.
9 _7 S3 R. Z4 I: j4 d+ C5.39.217.77:8898Eventually, the answer is 20 female and 80 children and no male. |