When a gas is compressed in a cylinder fitted with a piston, the work done is 510 J. At the same time, 264 J of heat is released to the surrounding. (a) Is this process endothermic or exothermic? (b) Calculate the change in the internal energy of the system and state whether the internal energy has increased or decreased. The internal energy has __.