That is a very simple mathematics question.
q& D& A0 A" q公仔箱論壇Let x = Male, y = Female, z = Child
1 c. t; a3 I- Q3 V( H: Dtvb now,tvbnow,bttvb6x + 3y + z/2 = 100 Formula 1
9 w! S# S0 y& {" C+ Y Q7 b% `tvb now,tvbnow,bttvbx + y + z = 100 Formula 2tvb now,tvbnow,bttvb. u8 T U' [7 q: ^
Simplify Formula 2 into z, we get z = 100 - x - y Formula 3
! ~8 T- L2 @! V1 E' Z0 p: b+ Ytvb now,tvbnow,bttvbSub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4tvb now,tvbnow,bttvb1 _9 @4 m( C- z! a
Formula 4 can change into 11x + 5y = 100 Formula 5
/ o6 m7 B4 [* k3 E# nwww2.tvboxnow.comIn Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.
; C& ~& F2 z/ j) T! a. Y v* a0 itvb now,tvbnow,bttvbAnd 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 q! B; @# c9 h* k! {Eventually, the answer is 20 female and 80 children and no male. |