A metal rod is fixed rigidly at two ends so as to prevent its thermal expansion. If L