integrate ((1/r) - (1/R))^-0.5 with respect to r