Here,
Mass of first body (m1) = 10 Kg
Mass of second body (m2) = 20 Kg
Distance between them (d) = 10 meter
Gravitational force (F) = ?
We have, \(F=\frac{Gm_1m_2}{r^2}\) , where G is the gravitational constant
Or, \(F=\frac{6.67\times10^{-11}\times10\times20}{10^2}\)
∴ \(F=3.56\times10^{22}N\)
Hence, the force of attraction between the Sun and the earth is \(3.56\times10^{22}N\)