@@ -0,0 +1,434 @@
+public class SquareRoot %7B%0A%0A    private static double squareRoot(double num) %7B%0A%0A        double result = num / 2;%0A        double last = 0;%0A%0A        while (result != last) %7B%0A%0A            last = result;%0A            result = (result + num / result) / 2;%0A%0A        %7D%0A%0A        return result;%0A%0A    %7D%0A%0A    public static void main(String%5B%5D args) %7B%0A%0A        System.out.println(squareRoot(2));%0A        System.out.println(squareRoot(4));%0A%0A    %7D%0A%0A%7D%0A

Create SquareRoot