When heat is applied to one end of a metal rod, the molecules at the…