Differentiate Heat From Work