Y=Minimum+(((Maximum-Minimum))/(1+(10^(x-LogEC 50))))