500g of water is heated so that its temperature rises from 30°C to 72°C in…