A system that had work done on it but which receives or loses no heat from or to the surroundings has

w < 0, ΔE > 0

w = - ΔE

w > 0, ΔE < 0

w = ΔE