d^2 in C, Java and ExcelOldschool wrote:That's a bit misleading but thanks for pointing out the fact that there was an error in the original equation I posted.ronk wrote:
You forgot distance, twice.
I forgot to point out in the equation that Gm1m2 should be divided by d**2.
You could argue that d**2 = d*d however d**2 is the normal nomenclature.
So for clarity F = (Gm1m2)/d**2 where d is the distance between the two masses.
d**2 in FORTRAN and Python