thermodynamics first law 3996489