Calculate the work (in kJ) of an isobaric reversible expansion of three moles of an ideal gas while it is heated from 298K to 400K.