Basic Programming Language
posted by Comfort Emma on .
Write the force of attraction between 2 bodies with the formula f = G mm
is the force of attraction between two bodies.
M and m are the masses
r is the distance between the centres of the bodies
G is the gravitational constant, equal to 6.67300 × 10-11 m3 kg-1 s-2