How a Maximum and Minimum Thermometer Measures Temperature