Hint 10-23
DE = q + w Consider the sign (+ or -) of each term. If energy is added to the system the term is positive. If energy is removed from the system the term is negative.