A solar water heater costs about $6240 to install (after rebates). A traditional gas water heater costs about $850 and costs about $320 per year to run. The average annual cost to run the solar water heater is about $75

Create total cost functions for each of the water heaters as a function of the number of years that the heater is used