There are 720 different ways to arrange the books.
Here we know that there are a total of 7 books, 3 of math and 4 of sciences.
We know that the 3 math books must be together, so first let's analyze this element.
The number of permutations of these 3 books is 3! = 3*2*1 = 6
Now we have 5 elements, 4 books of science and a "group of math books."
So there are 5 positions in which the group of math books can be, and for the four science books we have 4! = 4*3*2*1 = 24 permutations.
The total number of different combinations is given by the product of the numbers we found above:
combinations = (permutations of math)*(possible positions of math)*(permutations of science).
Combinations = 6*5*24 = 720
If you want to learn more about counting, you can read:
https://brainly.com/question/2280026