Source: https://physiquecarnotsupiv.blog.free.fr/public/Feuilles_exercices/Thermodynamique/Deuxieme_principe_bilans_entropiques_exos.pdf