Finding Square Roots w/ Recursion
I'm trying to write a method that finds the square root of a number using recursion. So far i have the following:
publicdouble rootMeth(double a)
{
if (a < = 1)
return a;
else
return a / rootMeth(a-2);
}
I know this is not right, but it does work for a few numbers, if you can help it would be appreciated greatly. Thanks.

