Try Another Version of This Question
Shell gas station is having a sale on diesel. If you buy 6 gallons or less, you pay the regular price of $2.19 per gallon. If you buy more than 6 gallons, you pay $1.89 per gallon. Write a piecewise function for the price of `n` gallons of diesel at Shell.
` D(n)= {( ),( ),( ):}` | if `0<n ≤` | |
if `n>` |
Box 1: Enter your answer as an expression. Example: 3x^2+1, x/5, (a+b)/c
Be sure your variables match those in the question
Box 2: Enter your answer as an integer or decimal number. Examples: 3, -4, 5.5172
Enter DNE for Does Not Exist, oo for Infinity
Box 3: Enter your answer as an expression. Example: 3x^2+1, x/5, (a+b)/c
Be sure your variables match those in the question
Box 4: Enter your answer as an integer or decimal number. Examples: 3, -4, 5.5172
Enter DNE for Does Not Exist, oo for Infinity