You can measure thermal energy by using a