An ideal gas of molar mass \(M\) is contained in a very tall vertical cylindrical vessel in the uniform gravitational field in which the free-fall acceleration equals \(g\). Assuming the gas temperature to be the same and equal to \(T,\) find the height at which the centre of gravity of the gas is located.