A hardware store will deliver up to 6 items for a $25 delivery charge. There is
a charge of $4 for each additional item to be delivered.
Write a piecewise function for the cost of
having x items delivered.
I understand the answer is 25 for x <= 6 and 4x + 1 for x > 6. But how do you get the 4x + 1?
To determine the expression 4x + 1 for the cost of having x items delivered when x > 6, you need to consider the given information:
1. A hardware store will deliver up to 6 items for a $25 delivery charge.
2. There is a charge of $4 for each additional item to be delivered.
Since we know that the delivery charge is $25 for up to 6 items, we can express this as an equation: c = 25, where c is the cost and x is the number of items being delivered.
Now, for x > 6, we know that there is an additional charge of $4 for each item. So, for each of the additional items beyond the first 6, there will be an extra $4 charge. We can express this as an equation: c = 25 + 4(x - 6).
Simplifying this equation, we get: c = 25 + 4x - 24.
Now, simplify further: c = 4x + 1.
Therefore, the piecewise function for the cost of having x items delivered is:
- If x ≤ 6, the cost is $25.
- If x > 6, the cost is 4x + 1.
charge=25 if x<7
charge=25+(x-6)*4 if x>7
which is correct.
Now your first answer, 25 for x<=6 is the same as 25 for x<7
You you cannot have decimal portions of items, so it goes from six to 7.
The second answer is just plain wrong.
for instance, if one had 7 item, the charge would be 29 dollars.
Your formula says 17 dollars for seven items. Nuts to your answer given.