Thermodynamics and Statistical Mechanics; Lecture 17: Rods, bubbles, and magnets