document.write( "Question 870638: in how many ways the 3 books of math 2 books of chemistry and 2 books of physics can be placed in a shelf. so that the books of same subject are placed together \n" ); document.write( "
Algebra.Com's Answer #525999 by Edwin McCravy(20055)\"\" \"About 
You can put this solution on YOUR website!
in how many ways the 3 books of math 2 books of chemistry and 2 books of physics can be placed in a shelf. so that the books of same subject are placed together
\n" ); document.write( "
\r\n" );
document.write( "Choose the orderings of the 3 subjects left to right on the shelf in 3! ways\r\n" );
document.write( "Choose the orderings of the 3 math books left to right in 3! ways.\r\n" );
document.write( "Choose the orderings of the 2 chemistry books left to right in 2! ways.\r\n" );
document.write( "Choose the orderings of the 2 physics books left to right in 2! ways.\r\n" );
document.write( "\r\n" );
document.write( "Answer: 3!3!2!2! = 6·6·2·2 = 144 ways\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );