public static double rand(){
  return rand.nextDouble();
}

public static double rand ( ) { return rand . nextDouble ( ) ; }
generates an equally distributed double precision random number . the upper boundary
