A heated bath is used in the laboratory to allow a chemical reaction to occur at an elevated temperature. The…