A public swimming pool that holds 45,000 gallons of water is going to be drained for maintenance at a rate of 100 gallons per minute. The amount of water, w (in gallons), in the pool after t minutes is given by the function w = 45,000 – 100t. How many minutes will it take to empty the pool?