That is a very simple mathematics question.
: z5 Y; v6 W a/ H/ wLet x = Male, y = Female, z = Child
5 \8 \" q1 }7 c5.39.217.766x + 3y + z/2 = 100 Formula 1
) g7 a# ^6 L5 G0 S3 }tvb now,tvbnow,bttvbx + y + z = 100 Formula 2
8 t" s: F* K ?' USimplify Formula 2 into z, we get z = 100 - x - y Formula 3
& s0 B) j2 @& ^3 I5.39.217.76Sub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4 `- n: Y6 w% Q+ O+ i
Formula 4 can change into 11x + 5y = 100 Formula 55 a. w1 z: u6 Y7 E+ _3 q, f
In Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.公仔箱論壇5 ]: x% P3 m q2 J
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.tvb now,tvbnow,bttvb8 H Q$ a' Y0 s
Eventually, the answer is 20 female and 80 children and no male. |