That is a very simple mathematics question.公仔箱論壇. g0 p3 j, G& `, w z
Let x = Male, y = Female, z = Child " M( h4 m; _ ~- \! `: r! _* N6x + 3y + z/2 = 100 Formula 1公仔箱論壇) p- S4 G+ {- o# k7 @. m8 b! `
x + y + z = 100 Formula 2 " }/ X' N, V" T9 L) @9 A i5.39.217.76Simplify Formula 2 into z, we get z = 100 - x - y Formula 3 ! b( D3 Z- D& w, B: H5 _2 g5.39.217.76Sub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4tvb now,tvbnow,bttvb: f/ N! u4 o- Q
Formula 4 can change into 11x + 5y = 100 Formula 5tvb now,tvbnow,bttvb" l6 G. S$ D& U+ W8 H: D+ z, q
In Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want. * L' x" k/ _& W8 c$ t+ Q1 G公仔箱論壇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.1 l2 ]3 ^/ o1 p3 x
Eventually, the answer is 20 female and 80 children and no male.作者: alan1234 時間: 2007-10-14 12:19 AM 標題: two answers
man,female,childrentvb now,tvbnow,bttvb0 \# y( [( E- B# u8 q1 d7 }2 h
0,20,80 or 5,9,86作者: RyanC 時間: 2007-10-14 10:46 PM
) L, X' ^1 c: P5 b) R/ D
11X must be 0 or multiple of 5 ' N4 U7 C6 N! g7 G; J6 P* ~ o公仔箱論壇that meanz x must be 0 or 5作者: manstein 時間: 2007-10-15 08:28 PM
86 children% [0 ~ d% P6 v' K4 w6 x0 b
5 male 5.39.217.76( h; X3 W$ u( L1 C- [7 [: c
9 female作者: dafunhei123 時間: 2007-10-15 10:39 PM