The function seems to be a step function, with two constant regions and a linear region in the middle.
* 