Enable text based alternatives for graph display and drawing entry

Try Another Version of This Question

Shell gas station is having a sale on diesel. If you buy 3 gallons or less, you pay the regular price of $2.99 per gallon. If you buy more than 3 gallons, you pay $2.79 per gallon. Write a piecewise function for the price of `n` gallons of diesel at Shell.

` D(n)= {( ),( ),( ):}`   if `0<n ≤`
  if `n>`