private static float logistic(double normalizedValue,int min,int max){
  double t=normalizedValue * 1;
  double result=(max * min * Math.exp(min * t)) / (max + min * Math.exp(min * t));
  return (float)result;
}

private static float logistic ( double normalizedValue , int min , int max ) { double t = normalizedValue * 1 ; double result = ( max * min * Math . exp ( min * t ) ) / ( max + min * Math . exp ( min * t ) ) ; return ( float ) result ; }
get an s - curve value between min and max
