Answer : (a) 5040 b) 720 c) 288
Step-to step explanation:-
Given : There are 3 Computer Science, 2 Mathematics, and 2 Sociology textbooks.
Total books = 7
a) The number of ways the books can be arranged in any order is given by :-
![7!=7*6*5*4*3*2=5040](https://img.qammunity.org/2020/formulas/mathematics/college/b4zrm8d033c5xyy0a8b84qdc040p9t9jao.png)
b) We consider all computer books as one thing, then, the total number of things to arrange = 1+2+2=5
Now, the number of ways to arrange books such that Computer Science books must be together, but all other books can be arranged in any order:-
![3!*5!\\\\=6*120=720](https://img.qammunity.org/2020/formulas/mathematics/college/ufl9va5w3mejh0ypz67y9eg2lv04x20v7w.png)
c) We consider all computer books as one thing and math book as one thing, then, the total number of things to arrange = 1+1+2=4
Now, the number of ways to arrange books such that Computer Science books must be together, but all other books can be arranged in any order:-
![4!* 3!*2!=24*6*2=288](https://img.qammunity.org/2020/formulas/mathematics/college/odq2q9j8cul33k0xiljpprg3kwp1zlm39p.png)