The magnitude of the expansion or contraction of a substance depends on the i. temperature…