document.write( "Question 994009: find the permutation of number of ways in which 5 first year student and 5 second year student can be seated on a bench in a examination hall so that no two students of the same class are next to each other ? \n" ); document.write( "
Algebra.Com's Answer #613362 by KMST(5328)\"\" \"About 
You can put this solution on YOUR website!
You will have to sit them alternating one student from each class.
\n" ); document.write( "The first choice is:
\n" ); document.write( "should the student sitting to the left of all other students be a first year student or second year student?
\n" ); document.write( "You have \"2\" choices.
\n" ); document.write( "For each of those choices, you have more choices that are independent of each other.
\n" ); document.write( "You have to decide:
\n" ); document.write( "in what order to sit the first year students, and
\n" ); document.write( "in what order to sit the second year students.
\n" ); document.write( "There are \"5%21=5%2A4%2A3%2A2%2A1=red%28120%29\" possible orders to sit the first year students.
\n" ); document.write( "There are \"5%21=5%2A4%2A3%2A2%2A1=green%28120%29\" possible orders to sit the first year students.
\n" ); document.write( "All in all, there are \"2%2Ared%28120%29%2Agreen%28120%29=highlight%2828800%29\" ways in which 5 first year student and 5 second year student can be seated on a bench in a examination hall so that no two students of the same class are next to each other.
\n" ); document.write( "
\n" );