Piecewise functions: Got an example of a real world piecewise function?
I always thought the horizontal distance from a wall to an object is a good example of a piecewise continuous function (of the height):
Here the various red lines show the various distances and the green line marks the point of discontinuity.
Computing income taxes in a bracketed system.
Cab fares are a piecewise constant function of distance travelled.