document.write( "Question 1178850: Six math books, five science books, and two English books are to be arranged on a shelf, so that books of the same subject must be together. How many ways can this be done? *
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #808277 by math_helper(2461)\"\" \"About 
You can put this solution on YOUR website!
Six math books, five science books, and two English books are to be arranged on a shelf, so that books of the same subject must be together. How many ways can this be done? *
\n" ); document.write( "

\n" ); document.write( "================

\n" ); document.write( "Math books: 6! ways to arrange them
\n" ); document.write( "Science books: 5! ways to arrange them
\n" ); document.write( "English books: 2! ways to arrange them
\r
\n" ); document.write( "\n" ); document.write( "6!*5!*2! = 720*120*2 = 172800 ways to arrange the Math, Science, and English books together, in that particular subject order.
\r
\n" ); document.write( "\n" ); document.write( "You can also arrange the three subjects in 3! ways, bringing the total number of arrangements to:

\n" ); document.write( " (172800)*3! = 172800*6 = \"highlight%28+1036800+%29\" ways
\n" ); document.write( "
\n" );