A process involves the performance of electrical work in the amount w' on a system. Show that if the process is carried out
a. at constant volume, the heat absorbed is delta U-w'
b. at constant pressure, the heat absorbed is delta H-w'
c. adiabatically, the pressure-volume work done is delta U-w'