https://123dok.net/document/y8gwd6wz-adiabatic-theorems-and-reversible-isothermal-processes.html