to determine the probability of getting a non-fiction book we need to find the coefficient between the number of non-fiction books and the total number of books. The total number of books is:
Now we find the probability:
The probability as a percentage is 25%