try
C(x) = 4.00 + 0.40⌈10x⌉
where ⌈z⌉ is the ceiling function (the least integer greater than z)
For example, ⌈2.37⌉ = 3
A taxi company charges $4.00 for the first mile (or part of a mile) and 40 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.
1 answer