Calculate $\Delta E$ for each of the following.
$$\begin{array}{l}{\text { a. } q=-47 \mathrm{kJ}, w=+88 \mathrm{kJ}} \\ {\text { b. } q=+82 \mathrm{kJ}, w=+47 \mathrm{kJ}} \\ {\text { c. } q=+47 \mathrm{kJ}, w=0} \\ {\text { d. In which of these cases do the surroundings do }} \\ {\text { work on the system? }}\end{array}$$