Question

The pressure-volume graph shows a process in which a gas is
taken from A to B. The internal energy of the gas at the two points
is UA = 3.6 105 J and UB = 5.6 105 J. What is the heat Q
transferred to the gas during this process?