Use specific heat capacity.
The specific heat capacity of gaseous hydrogen is 14.3J/g °C. Determine the amount of heat energy that is associated with heating a 12.2-g sample of gaseous hydrogen from 20.4°C to 39.1°C.