double findRoot(int num){
        double start =0;
        double end = num;
        while(Math.abs(start - end) > 0.01){
            end = (start + end)/2;
            start = num/end;
        }
        
        return end;
    }
Babylonian method for calculating square root
src/com/interview/number/SquareRoot.java