A simple pendulum of length l is displaced so that its taught string is horizontal and then released. A uniform bar pivoted at one end is simultaneously released from its horizontal position. If their motions are synchronous, what is the length of the bar?