That is a very simple mathematics question. 2 z. P$ K/ q; y4 f* cLet x = Male, y = Female, z = Child + H" G) A! m0 p- ltvb now,tvbnow,bttvb6x + 3y + z/2 = 100 Formula 1 9 O) C- q% h. Q7 _3 Z: J3 w, J. l5.39.217.76x + y + z = 100 Formula 2: z% b1 R. m$ v7 F; |) w) r' e6 A
Simplify Formula 2 into z, we get z = 100 - x - y Formula 3 x1 P& ^ _& i- [7 w5 n# m& Y6 j0 ^5.39.217.76Sub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 46 V; _- e7 u) @6 ? C; G4 G, `
Formula 4 can change into 11x + 5y = 100 Formula 5公仔箱論壇7 E+ k+ f/ g2 h+ q% o& C. P
In Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.tvb now,tvbnow,bttvb- ?# J5 T) X6 r
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.7 i1 K1 M8 c4 h! a
Eventually, the answer is 20 female and 80 children and no male.作者: alan1234 時間: 2007-10-14 12:19 AM 標題: two answers
man,female,children / K8 b8 u5 H O. m5.39.217.760,20,80 or 5,9,86作者: RyanC 時間: 2007-10-14 10:46 PM
原帖由 twinsdragon 於 2007-10-13 05:40 PM 發表 公仔箱論壇* b0 X P" f ^& T7 B# J0 ^' V* R
11x + 5y = 100 Formula 5
9 r. d- R' L0 \ \7 ^- R3 C+ y
11X must be 0 or multiple of 5 - w9 ?# Z5 l- h: j" ~0 v- n5.39.217.76that meanz x must be 0 or 5作者: manstein 時間: 2007-10-15 08:28 PM
86 children) e. W4 a& `7 M. [" M2 a
5 male 2 ^& r: p4 h/ J5 ]9 female作者: dafunhei123 時間: 2007-10-15 10:39 PM