yi= (xi-xMIN)(k2-k1)/(xMAX-xMIN)+k1