Answer:

Explanation:
Given : Number of math books = 5
Total number of books = 5+6+8+3=22
Number of books except math = 17
Number of ways to arrange 22 books in bookshelf =

When all math books are together , then we count whole set as one
Now, the number of objects in bookshelf = 17+1=18
Number of ways to arrange books such that all math books are together =

Now, the probability that all the math books are together :-

Hence, the probability that all the math books are together
