A metal rod of length 40cm at 20°C is heated to a temperature of 45°C….