Complete question :
Water flows from a faucet into a bathtub at a constant rate of 2.5 gallons per minute. The bathtub initially has 5 gallon of water in it. Write a function to represent the situation.
Answer:
f(x) = 2.5x + 5
Explanation:
A function which could be used to represent the situation is the slope - intercept function ;
The constant rate of water flow per minute could represent the slope of the function, which is the change in y per unit change in x ;
The intercept is the initial water level in the bath tub = 5 gallons
Slope intercept equation:
y = mx + c
m = slope ; c = intercept
The water in the bathtub as a function of x, number of minutes is ;
f(x) = 2.5x + 5