import SimpleOutput;

/**
 * Things that now how to approximate square roots.
 *
 * @author Samuel A. Rebelsky
 * @version 1.0 of October 1999
 */
public interface RootComputer {
  /**
   * Compute the square root of num using an initial approximation
   * and a specification of how close we want to be.  Print out
   * information if the observer is non-null.
   */
  public double sqrt(double num, double guess, double tolerance,
                     SimpleOutput observer);
} // class RootComputer 

