Measuring temperature based on the expansion or contraction of a material the material being a liquid with provision for measuring the difference between two temperatures