Answer:
84 ways
Explanation:
The order in which the books are positioned is not important, so we use the combinations formula to solve this question.
Combinations formula:
is the number of different combinations of x objects from a set of n elements, given by the following formula.

In how many ways can this be done
2 math books, from a set of 7.
3 computer science books, from a set of 4.
So

This can be done in 84 ways