Expression for gas constant problem