document.write( "Question 1020446: The mean of the eight positive intergers (all < 10) 5,8,X,X,6,Y,6,5 is 7. Find the values of X and Y, and then state the median of the intergers.
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #636330 by robertb(5830)\"\" \"About 
You can put this solution on YOUR website!
7 being the mean of the eight numbers means that
\n" ); document.write( "\"%285%2B8%2Bx%2Bx%2B6%2By%2B6%2B5%29%2F8+=+%2830%2B2x%2By%29%2F8+=+7\"
\n" ); document.write( "==> 30+2x+y = 56
\n" ); document.write( "==> 2x+y = 26
\n" ); document.write( "Only two positive integers both less than 10 will satisfy the last equation, namely \"highlight%28x+=+9%29\" and \"highlight%28y+=+8%29\".\r
\n" ); document.write( "\n" ); document.write( "Now that x and y are known, arrange the positive integers in an array:\r
\n" ); document.write( "\n" ); document.write( "5,5,6,6,8,8,9,9\r
\n" ); document.write( "\n" ); document.write( "The median of the data set will be the average of the two middle terms 6 and 8, namely \"highlight%287%29\".
\n" ); document.write( "
\n" ); document.write( "
\n" );