UNB/ CS/ David Bremner/ teaching/ java/ SqrtTest2.java
public class SqrtTest2 
{  public static void main(String[] args)
   {  for (double x = 0; x <= 10; x = x + 0.5)
      {  double y = MathAlgs.sqrt(x);  
         System.out.println("square root of " + x
            + " = " + y);
      }
   }
}