Stav dette: A first course in the mathematical foundations of thermodynamics