public static double geometricMean(double x, double y) { return Math.sqrt(x*y); }