That is a very simple mathematics question. / r/ A' _2 G$ O$ a6 h! E公仔箱論壇Let x = Male, y = Female, z = Child& M& x1 M$ g1 I: a ~
6x + 3y + z/2 = 100 Formula 1tvb now,tvbnow,bttvb! K* c- v$ W. \! g; @& j
x + y + z = 100 Formula 2 9 X2 V1 e3 ]5 ?7 ~, X+ _tvb now,tvbnow,bttvbSimplify Formula 2 into z, we get z = 100 - x - y Formula 3tvb now,tvbnow,bttvb- S u3 n$ K% h# e
Sub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4# |, t4 x T" {
Formula 4 can change into 11x + 5y = 100 Formula 55.39.217.768 f# e) L: I6 W) J3 ~+ x5 c& |
In Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want. - {0 V9 A- Z4 K! P3 g* Q5.39.217.76And 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.公仔箱論壇6 M. y2 z. C& M# r t8 z% h
Eventually, the answer is 20 female and 80 children and no male.作者: alan1234 時間: 2007-10-14 12:19 AM 標題: two answers
man,female,children公仔箱論壇1 L+ e. p8 z1 a F! R
0,20,80 or 5,9,86作者: RyanC 時間: 2007-10-14 10:46 PM
原帖由 twinsdragon 於 2007-10-13 05:40 PM 發表 / `+ r/ W, l: L l# k: I* v
11x + 5y = 100 Formula 5
5.39.217.763 A( d1 Y I6 ~- E3 p
11X must be 0 or multiple of 5 # S4 E; \; e, [# Z6 F2 d0 Ltvb now,tvbnow,bttvbthat meanz x must be 0 or 5作者: manstein 時間: 2007-10-15 08:28 PM
86 children 8 o, ?% q' P$ t# e5.39.217.765 male . V7 T3 B" {0 ~
9 female作者: dafunhei123 時間: 2007-10-15 10:39 PM