Early Applications of the First Law of Thermodynamics