That is a very simple mathematics question.tvb now,tvbnow,bttvb9 r/ o! C8 e" F4 j. ^
Let x = Male, y = Female, z = Child
: c0 R" j% q# x* { R- o( m% H6x + 3y + z/2 = 100 Formula 1
$ {, \ L4 l, c5 A公仔箱論壇x + y + z = 100 Formula 2tvb now,tvbnow,bttvb- j* ?. J8 U" {+ t/ W9 `8 N
Simplify Formula 2 into z, we get z = 100 - x - y Formula 3
/ H1 l8 Q9 X% M) l( Q0 A; i% dSub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4
4 s$ T {* q2 }9 _: JFormula 4 can change into 11x + 5y = 100 Formula 5公仔箱論壇7 l% Y9 M9 E* I5 z l: @& x3 n
In Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.5.39.217.76/ r% x- U% A0 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.公仔箱論壇& V: V* y! t8 q- x) w
Eventually, the answer is 20 female and 80 children and no male. |