A fluid is confined in a cylinder by a spring-loaded, frictionless piston so that the pressure in the fluid is a linear function of the volume (p = a + bV). The internal energy of the fluid is given by the following equation U = 34 + 3.15pV where, U is in KJ, p in KPa, and V in cubic meter. If the fluid changes from an initial state of 170KPa,0.03m³to a final state of 400KPa,0.06m³, with no work other than that done on the piston, find the direction and magnitude of the work and heat transfer