The time period (T) of a simple pendulum is given by the formula T = 2π sqrt(L/g), where L is the length of the pendulum and g is the acceleration due to gravity. The length of the pendulum is the length of the wire. Materials expand when heated due to thermal expansion.