That is a very simple mathematics question., a/ H. q( T$ P- j
Let x = Male, y = Female, z = Child
7 U" P* @8 r7 o! o2 [8 btvb now,tvbnow,bttvb6x + 3y + z/2 = 100 Formula 1tvb now,tvbnow,bttvb# m ~/ [/ d# f# u3 i
x + y + z = 100 Formula 2公仔箱論壇4 T1 C6 L& g6 s# z' V1 q
Simplify Formula 2 into z, we get z = 100 - x - y Formula 3
- l5 N g) d; M: M7 `tvb now,tvbnow,bttvbSub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4
# ]* W9 K" C: z; m5.39.217.76Formula 4 can change into 11x + 5y = 100 Formula 5" E; t9 ~! ]! b; }
In Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.
3 _; i& t1 y/ f: n" ]3 `tvb now,tvbnow,bttvbAnd 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.
8 c" A, Q- v$ W; m公仔箱論壇Eventually, the answer is 20 female and 80 children and no male. |