The formula for calculating attraction is F=GMmr².
Gravitational attraction is the force of attraction that occurs on all bodies
which have a mass as a result of the force of gravitational force.
The Force is directly proportional to the product of their masses and
inversely proportional to the square of the distance between them.
Gravitational attraction = F=GMmr².
where F is the Force, G is gravitational constant, M and m are masses and r²
is square of the distance between the masses.
Read more about Gravitational attraction here https://brainly.com/question/15090289