document.write( "Question 1163208: There are 3 math books and 3 history books that are to be arranged on a shelf. How many different ways can the books be arranged on the shelf if 2 history books are to be kept together and 2 mathematics books are also to be kept together? The two math books should be immediately followed by the 2 history books and vice versa. \n" ); document.write( "
Algebra.Com's Answer #787229 by ikleyn(52776)\"\" \"About 
You can put this solution on YOUR website!
.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "When you try to put more than one question per post in this forum,\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "

    it always works AGAINST your own interests.

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

    it always works AGAINST your own interests.

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

    it always works AGAINST your own interests.

\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Never do it (!)\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );