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