Answer :

A thermometer is used
Calorimeter, for determining the mechanical equivalent of heat by measuring the heat generated in an electrical resistance