Thermodynamics: Applications in Chemical Engineering and the Petroleum Industry