According to the law of universal gravitation, the force of attraction of the body of mass m to Mars on its surface is GMMmR3M, where MM is the mass of mars, and RM is its radius. This means that the free-fall acceleration on the surface of Mars is gM=GMM/R2M. If the mass of the Martian atmosphere is mM, it is attracted to the surface of the planet with the force mMgM, which is equal to the force of pressure of the atmosphere i.e. the pressure on the surface o f Mars is PM=mMgM/(4πR2M).Similarity, for the corresponding parameters on the Earth, we obtain PE= mEgE/(4πR2E). The ratio of the masses of the Martian and the Earth's atmospheres is
mMmE=PM4πR2MgEPE.4πR2EgM
Considering that MM=(4/3)πR3MρM (a similar expression can be obtained for the earth) and substituting the given quantities we get
mMmE=PMPERMREρEρM≃3.4×10−3
It should be noted that we assumed in fact that the atmosphere is near the surface of a planet. This is really so since the height of the atmosphere are much smaller than the radius of a planet (e.g.at an altitude of 10 km above the surface of the Earth it is possible to breathe and the radius of the Earth is RE≃6400 km)