code: static public double cosine(Angle angle) {
          double result = lock(Math.cos(angle.value));
          return result;
      }
docs: This function returns the cosine of the specified angle.
  
  @param angle The angle.
  @return The cosine of the angle.