Answer: So, the probability that a randomly selected lunch costs between $7 and $8 is 0.4, or 40%.
Explanation:
To find the probability that a randomly selected lunch costs between $7 and $8, you can calculate the area under the uniform density curve between those two values.
In this case, the uniform density curve is represented as a rectangle with a height of 0.4 (y = 0.4) and a base of 8 - 7 = 1 dollar (the width of the interval from $7 to $8).
The probability is equal to the area of the shaded region, which is a rectangle in this case.
Probability = Area of rectangle = (height) * (width) = (0.4) * (1) = 0.4
So, the probability that a randomly selected lunch costs between $7 and $8 is 0.4, or 40%.