A taxi company charges $2.00 for the

first mile (or part of a mile) and 20 cents for each succeeding tenth of a mile (or part). Express the cost C (in dollars) of a ride as a piecewise-defined function of the distance x traveled (in miles) for 0 <� x <� 2

2 answers

C(x) =
2.00 for 0 < x <= 1
2.00 + .20(10x) for 1 < x < 2

since there are 10 charging units per mile.
C(x) =
2.00 for 0 < x <= 1
2.00 + .20(10[x-1]) for 1 < x < 2

since there are 10 charging units per mile. The [x-1] is out there so you aren't charging for the first mile, and x=Overall miles. So [x-1]= miles going past the 1 mile.