411,394 views
2 votes
2 votes
A delivery truck driver charges a fixed base price of $6 for 2 miles. After 2 miles, he charges an additional $2 for every mile. After 6 miles, he charges an additional $4 for every mile. Describe the cost of the delivery truck between 1 mile and 2 miles. у 20 18 16 14 12 Cost (dollars) 10 8 6 4 N 0 1 2 3 4 5 6 7 8 9 10 Distance (miles)

User Louis Lecocq
by
2.9k points

1 Answer

14 votes
14 votes

We can write:

$6 for 2 miles or less (fixed).

$2 for every additional mile after 2 miles.

$4 for every additional mile after 6 miles.

We have a function defined by parts:

For 0

For 2<=x<6, the function is f(x) = 6 + 2(x-2).

For x>=6, the function is f(x) = 6 + 2(x-2) + 4(x-6)

Between 1 mile and 2 miles, the cost is fixed in $6.

User Matvei Nazaruk
by
2.9k points