Lamar drained an aquarium. He took minutes. The graph shows the amount of water (in liters) in the aquarium versus time (in minutes).

Find the domain and the range of the function shown.

In the graph, the x-axis represents time in minutes and the y-axis represents the amount of water in liters.

Domain:
The domain of the function is the set of all possible input values, which in this case is time in minutes. From the graph, we can see that Lamar drained the aquarium over a span of 20 minutes, from 0 to 20 minutes. Therefore, the domain of the function is [0, 20].

Range:
The range of the function is the set of all possible output values, which in this case is the amount of water in liters. From the graph, we can see that the amount of water starts at 150 liters and decreases linearly to 0 liters over the span of 20 minutes. Therefore, the range of the function is [0, 150].