A frictionless piston is raised by slowly heating the gas contained in the cylinder. The initial pressure is 2 bar and the initial volume is 4 m3. The heat transfer to the tank is 2000 kJ, and the final volume is 7 m3. Determine the change in internal energy.