code: public static double pythagoreanTheorem(final double a, final double b) {
      return Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
    }
docs: Calculates the Pythagorean Theorem (c2 = a2 + b2).
  
  @param a double value operand.
  @param b double value operand.
  @return the value for c using the Pythagorean Theorem
  @see java.lang.Math#pow(double, double)
  @see java.lang.Math#sqrt(double)