The rate of cooling of a heated quantity of liquid in an enclosure depends on…