That is a very simple mathematics question.tvb now,tvbnow,bttvb7 a" Z$ d4 s# c( d
Let x = Male, y = Female, z = Child
& h: _$ z. D& P6 i5 s# [tvb now,tvbnow,bttvb6x + 3y + z/2 = 100 Formula 15.39.217.761 d* ]" P; i! X) W: i, {
x + y + z = 100 Formula 2tvb now,tvbnow,bttvb- E4 e/ a9 f& u8 n2 o4 h9 i
Simplify Formula 2 into z, we get z = 100 - x - y Formula 3
+ h2 Y* @2 { X- _5 E* M公仔箱論壇Sub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4
# B* ~, y2 q# V! V. m5.39.217.76Formula 4 can change into 11x + 5y = 100 Formula 5公仔箱論壇8 \8 ]0 Z, p: Q& ^1 u: x% @6 N
In Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.5.39.217.760 x h$ f3 b7 h
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.
' y# c3 l1 _' g' A8 p8 } ~Eventually, the answer is 20 female and 80 children and no male. |