Answer:

D is the correct option.
Explanation:
We know that in range is the set of y values for which the function is defined.
So, for finding the range of the function, we see where the y values lie.
The minimum y value is 0 and the maximum y value is 5. Hence, the range must lie between these values including 0 and 5.
Therefore, the range of the function is

D is the correct option.