lf the temperature of a small quantity of water in a closed container is gradually…