Since we only have two possible outcomes here: either fiction or non-fiction books, we are dealing with binomial probability. The formula for this is:
where n = the number of trials, x = number of successes, p = probability of a success on an individual trial.
Now, based on the question, here are the information:
the number of trials (n) = 7 random books
probability of getting a fiction book on an individual trial = 45%
probability of getting a non-fiction book on an individual trial (p) = 55%
There are two written successes in the question:
a. 0 non fiction book (x)
b. 1 non fiction book (x)
Let's solve first the probability of getting zero non-fiction books. Let's plug in the given data to the formula above.
The probability of getting zero non-fiction book is 0.00373669.
Let's now solve the probability of getting 1 non-fiction book. x = 1.
The probability of getting 1 non-fiction book is 0.031969.
So, the probability of getting 0 OR 1 non-fiction book is:
The probability of getting 0 OR 1 non-fiction book is 0.0357.