That is a very simple mathematics question. / h% A( U# M. n9 vtvb now,tvbnow,bttvbLet x = Male, y = Female, z = Child 9 _( a |( Z* C+ `" x* Z6x + 3y + z/2 = 100 Formula 1 2 j5 \7 S7 l' n, `; {" [2 o4 f& stvb now,tvbnow,bttvbx + y + z = 100 Formula 2! [5 W% Z* l9 n1 ^6 b
Simplify Formula 2 into z, we get z = 100 - x - y Formula 3公仔箱論壇. Z0 P% ~0 ]1 @. t: q+ [
Sub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 45.39.217.76$ G5 |3 X# V2 V6 S4 g4 J
Formula 4 can change into 11x + 5y = 100 Formula 5 . W! v! F1 C3 Z& \$ n& h! C9 f公仔箱論壇In Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want. , l5 L; H% s! Y, [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. : N0 _# I; y! S6 t# zEventually, the answer is 20 female and 80 children and no male.作者: alan1234 時間: 2007-10-14 12:19 AM 標題: two answers
man,female,children - H7 ^# h- Y' W0 c4 C d: L# ]公仔箱論壇0,20,80 or 5,9,86作者: RyanC 時間: 2007-10-14 10:46 PM
0 c! m+ x1 t# Y. {8 P0 c& ~ `
11X must be 0 or multiple of 5公仔箱論壇8 H9 ~9 ?) `. L$ V7 p# N+ Y' E) q$ [
that meanz x must be 0 or 5作者: manstein 時間: 2007-10-15 08:28 PM