where n denotes number of moles of a gas.