document.write( "Question 1183229: The average of m numbers is a and the average of n numbers is b. If the average of all the (m+n) numbers is k, what is the value of m? \n" ); document.write( "
Algebra.Com's Answer #813438 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
The average of m numbers is a and the average of n numbers is b.
\n" ); document.write( " If the average of all the (m+n) numbers is k, what is the value of m
\n" ); document.write( ":
\n" ); document.write( "the total in 1st group + the total in the 2nd group divided by (m+n) = k
\n" ); document.write( "\"%28ma+%2B+nb%29%2F%28m%2Bn%29+=+k\"
\n" ); document.write( "ma + nb = k(m+n)
\n" ); document.write( "ma + nb - km + kn
\n" ); document.write( "ma - km = kn - nb
\n" ); document.write( "m(a-k) = n(k-b)
\n" ); document.write( ":
\n" ); document.write( "m = \"%28n%28k-b%29%29%2F%28a-k%29\"
\n" ); document.write( "
\n" );