An ideal gas of molar mass is located in the uniform gravitational field in which the free-fall acceleration is equal to . Find the gas pressure as a function of height if at and the temperature varies with height as (a) (b) where is a positive constant.