That is a very simple mathematics question.% E: o( d! w9 x' Z8 D _' }
Let x = Male, y = Female, z = Child ! Z+ W, x+ L K3 L! J! jtvb now,tvbnow,bttvb6x + 3y + z/2 = 100 Formula 1公仔箱論壇" l, j) ]. {3 k+ h* \ z
x + y + z = 100 Formula 2 - b8 r: G# E* q2 C; Otvb now,tvbnow,bttvbSimplify Formula 2 into z, we get z = 100 - x - y Formula 35.39.217.77" E6 a$ Y5 q: v. o& `
Sub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4 9 J/ Y2 H( m5 r; k8 tFormula 4 can change into 11x + 5y = 100 Formula 5 9 x9 o" R- b G/ q# ?2 z- c% z* n& A5.39.217.77In Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want. 8 b9 ^: O; C& c3 ] D" B* W5.39.217.77And 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. 9 @5 b/ a" a! E' k. g2 s5.39.217.77Eventually, the answer is 20 female and 80 children and no male.作者: alan1234 時間: 2007-10-14 12:19 AM 標題: two answers
man,female,children公仔箱論壇( g8 ?3 S9 i: K( Q2 T( I3 T
0,20,80 or 5,9,86作者: RyanC 時間: 2007-10-14 10:46 PM
5.39.217.77$ k( C& u/ X/ @# T7 V1 @1 ^8 ?
11X must be 0 or multiple of 5公仔箱論壇6 j2 Z2 i6 s% G1 m, z4 S0 D
that meanz x must be 0 or 5作者: manstein 時間: 2007-10-15 08:28 PM
86 children公仔箱論壇5 l7 @. e# K' n% t3 ^. T
5 male & U" D; A! a2 d3 S+ @: g5.39.217.779 female作者: dafunhei123 時間: 2007-10-15 10:39 PM