A function I could think of is the distance traveled by our car running at a constant speed of 20 mph towards our school which is 5 miles from home.
The function name is D(t)
D(t) = 20t
wher t is the time traveled in hours
The maximum distance traveled is
5 = 20t
t = 0.25 hours
The domain is 0 ≤ t ≤ 0.25
The range is 0 ≤ D(t) ≤ 5