document.write( "Question 716619: in how many different ways can 4 persons be seated in a consecutive row of seven seats??\r
\n" ); document.write( "\n" ); document.write( "2. a shelf contain 5 red books, 4 blue books, and 3 green books. how many different orders can they be arranged if all books of the same color must kept together?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #439923 by Edwin McCravy(20060)\"\" \"About 
You can put this solution on YOUR website!
in how many different ways can 4 persons be seated in a consecutive row of seven seats??
\n" ); document.write( "
\r\n" );
document.write( "7 position 4 = P(7,4) = 7·6·5·4 = 840\r\n" );
document.write( "\r\n" );
document.write( "----------------------------------------------------\r\n" );
document.write( "

\n" ); document.write( "2. a shelf contain 5 red books, 4 blue books, and 3 green books. how many different orders can they be arranged if all books of the same color must kept together?
\n" ); document.write( "
\r\n" );
document.write( "First, there are P(3,3) = 3! ways we can choose the order of colors,\r\n" );
document.write( "that is, (Red,Blue,Green), (Red,Green,Blue), (Blue, Red,Green),\r\n" );
document.write( "(Blue,Green,Red), (Green,Red,Blue), (Green,Blue,Red)\r\n" );
document.write( "\r\n" );
document.write( "Then for each of those 3! ways, there are P(5,5) = 5! ways to arrange the 5\r\n" );
document.write( "red books, P(4,4) = 4! ways to arrange the blue books, and P(3,3) = 3! ways\r\n" );
document.write( "to arrange the green books.  \r\n" );
document.write( "\r\n" );
document.write( "Answer 3!·5!·4!·3! = 6·120·24·6 = 103,680 ways.\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );