Source: https://iast.univ-setif.dz/documents/Cours/SolutionExercices1et2_Serie3_THERMODYNAMIQUE.pdf