document.write( "Question 1152119: A school dance committee is made up of 2 freshman, 6 sophomores, 3 juniors, and 2 seniors.
\n" ); document.write( "How many ways are there to sit the committee in a row at a meeting if the freshman,sophomores, and juniors must sit by grade, but the seniors can sit wherever they want?
\n" ); document.write( "

Algebra.Com's Answer #774080 by Edwin McCravy(20054)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "We seat the freshmen, sophomores and juniors like this:\r\n" );
document.write( "\r\n" );
document.write( "ffssssssjjj\r\n" );
document.write( "\r\n" );
document.write( "That's 2!∙6!∙3! ways\r\n" );
document.write( "\r\n" );
document.write( "For each of those ways, there are two cases:\r\n" );
document.write( "\r\n" );
document.write( "Case 1: the two seniors, say Ann and Bill, sit side by side:\r\n" );
document.write( "\r\n" );
document.write( "_f_f_s_s_s_s_s_s_j_j_j_\r\n" );
document.write( "\r\n" );
document.write( "There are 12 places they can sit together.\r\n" );
document.write( "There are 2 ways they can sit, Ann on Bill's left and Ann on Bill's right.\r\n" );
document.write( "That's 12∙2 ways for case 1.\r\n" );
document.write( "\r\n" );
document.write( "Case 2: the two seniors, Ann and Bill, do not sit side by side:\r\n" );
document.write( "\r\n" );
document.write( "There are 12 places Ann can sit. For each of the 12 places Ann can sit,\r\n" );
document.write( "there remains 11 places Bill can sit.\r\n" );
document.write( "That's 12∙11 ways for case 2.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Answer:  2!∙6!∙3!(12∙2 + 12∙11) = 1347840 ways.\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );