Determining the specific heat of water using a heater of known power