Which of the following factors is both a physical and a chemical agent of rock…