linear functions piecewise 8990400