Erin buys gas at a self service station for $2.75 a gallon. The gas station has a promotion going on that anyone who buys more than 10 gallons of gas, only has to pay $2.50 per gallon. Erin's tank will hold 12 gallons of gas.
a) Write a rule for the total cost, C(g), as a function of g gallons of gas.
b)Graph the piecewise function
c)What is the domain and range of the function in part a