A mass of gas at 40mmHg is heated from 298k to 348k at constant volume….