
Patrick B. answered 12/01/18
Math and computer tutor/teacher
I agree with you, but here it is:
20 + 0.75x if x >=5
BUT if x<5, then it is $4 per kilometer as 20/5 = 4
So now the function can be written as
20 + 0.75x if x>=5
4x otherwise
Now the piecewise function can be eliminated if
x is replaced with x-5
20 + 0.75(x-5) =
20 + 0.75x - 3.75
16.25 + 0.75x
Like I said, it do not agree either
nor do I like it.
Moreover, there is somewhat unclear.
If they go only 2 km or 3 km or even 4 km,
is the price still $20 ?
or is it broken down as $4 per km ?