An automated calorimeter for determining small heat capacities at low temperatures (1-40K)