You can put this solution on YOUR website! How many different ways can someone arrange 5 math books next to 4 science books on a shelf?
-----
Arrangements of the 5 math books: 5!
Arrangements of the 4 science books: 4!
Arrangements of the 2 groups: 2 ways
----
Total arrangements: 5!*4!*2 = 5760 ways
------------------------------
Cheers,
Stan H.
============