I can not search this over the internet so I thought some of you guys can help me out. The question goes like this.
There are 15 books. Of these are 5 Mathematics, 7 Physics, and 3 books on Chemistry. In how many ways can they be arranged in a shelf if the three subjects are to be grouped together?
P.S. I tried the using the permutation formula involving identical elements. But it's not arriving to the right answer in my book. Thanks in advance.