How many ways can you arrange 4 physics book and 5 math books so that the physics book are next to each other?
So I know the arrangements can be,
PPPPMMMMM
MPPPPMMMM
MMPPPPMMM
MMMPPPPMM
MMMMMPPPP
4! * 5! = 2880 ways
There are 4 ways to arrange the physics book and 5 ways to arrange the others so 4! * 5!. I'm not sure if that's the correct answer.