This is my first class in probability so I just wanted verification as to my attempted solution.
Question:
In how many ways can $2$ different history books, $5$ different math books, and $4$ different novels be arranged on a shelf if the books of each type must be together?
Solution:
$2! \cdot 5! \cdot 4! \cdot 3! = 34560$
There are $34560$ ways the books can be arranged.
Best Answer
Question: "In how many ways can 2 different history books, 5 different math books, and 4 different novels be arranged on a shelf if the books of each type must be together?"
In this question, sequence of the books is not important, therefore:
Think like this:
We also have three types of books, so, the order of first-to-appear is, by the same logic, 3!
Therefore, in the the end you have $2!*5!*4!*3!=34560$ ways to arrange those books