Introduction to Mathematical Physics/Continuous approximation/Second principle of thermodynamics

Second principle statement
Second principle of thermodynamics\ index{second principle of thermodynamics} is the macroscopic version of maximum entropy fundamental principle of statistical physics. Before stating second principle, let us introduce the thermostat notion:

We thus have:

so

Applications
Here are two examples of application of second principle: