Water flows into a tank at the variable rate gal/min and out at the constant rate gal/min. Let be the volume of water in the tank at time .

(a) Set up a differential equation for and solve it with the initial condition .

(b) Find the maximum value of .
maximum value of gal

You can earn partial credit on this problem.