The function seems to have a piecewise behavior, where it behaves differently for different intervals.

