package username.math; import java.io.PrintWriter; import java.io.InputStreamReader; import java.io.BufferedReader; /** * Test some math stuff. * * @author Samuel A. Rebelsky * @version 1.0 of September 2005 */ public class TestMath { // +------+-------------------------------------------------------------- // | Main | // +------+ public static void main(String[] args) throws Exception { // Prepare for input and output PrintWriter pen = new PrintWriter(System.out, true); // Compute a square root. double root = Mathematician.squareRoot(new Integer(2)); pen.println("The square root of 2 seems to be " + root); } // main(String[]) } // class Main