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