% miko:type: complete
% miko:title: Complete Thermodynamics
% miko:summary: A structured path through entropy, ensembles, and thermodynamic potentials.
% miko:tags: thermo
% miko:difficulty: undergrad
% miko:related: entropy-second-law, partition-function, gibbs-free-energy
% miko:keywords: entropy, ensemble, free energy

\documentclass{article}
\usepackage{amsmath}
\title{Complete Thermodynamics}
\begin{document}
\maketitle

\section{Entropy}

Entropy measures both thermodynamic irreversibility and statistical
multiplicity:

$$
S = k_B\ln W.
$$

\section{Ensembles}

The partition function

$$
Z=\sum_i e^{-\beta E_i}
$$

contains equilibrium information in the canonical ensemble.

\section{Potentials}

Different constraints call for different potentials, such as $F$ and $G$.

\end{document}
