You probably know the the pull of gravity varies with the inverse square of the distance $(r = x)$ $x^2$. We all know in physics that the integral of $\frac{K}{x^2}$ is $-\frac{K}{x}$, this when the attracted body is free-falling.
I'd like to ask for your help with a particular case when the body is travelling at great speed, at say $.99c$ : it will reach B in only $100$ seconds and will therefore absorb a smaller amount of energy.
I am not a great expert of maths, but I have a hunch I should get the exact value dividing available energy by speed,so, the energy absorbed should be $$\frac{9.9\times10^{13}}{10^{10}} = 9900$$
I tried to sum up the $100$ individual values I got from $100$ divisions, but I get no more than $7000$. Can you tell me how tho find the correct integral?
I draw this sketch if it helps
