Solve the integral I=int_oo^R(GMm)/(x^2)dx.