That is a very simple mathematics question.: U1 R( i, i0 W9 T
Let x = Male, y = Female, z = Child
. [$ i# G; b3 g5 @2 z5.39.217.776x + 3y + z/2 = 100 Formula 1tvb now,tvbnow,bttvb" N4 l' N _2 ^: W) M
x + y + z = 100 Formula 23 L W% _" l+ s3 }& I
Simplify Formula 2 into z, we get z = 100 - x - y Formula 3公仔箱論壇" ~# T) c3 E% W! F9 N
Sub Formula 3 into Formula 1, we get 6x + 3y + ( 100 - x - y )/2 = 100 Formula 4
+ \$ E& y4 Y0 L6 n: M- J" m6 XTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。Formula 4 can change into 11x + 5y = 100 Formula 5( [ k; F/ v% k" i, K% L$ Q$ {& L$ ^& @
In Formula 5, x can only be 0 - 9, otherwise y will be negative number which we dont want.
" Z+ b0 c1 `3 nAnd 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.
2 O$ J9 Y3 d3 n4 u0 f( G: t5.39.217.77Eventually, the answer is 20 female and 80 children and no male. |