A gas expands and does 82.7 J of work on the surroundings. At the same time, the gas loses 103 J of energy to the surroundings as heat.
What is the change in the internal energy of the gas?
Would this be ΔE = q + w (-103) + (82.7) = -20.3. I get confused with the positive and negative charges.