A uniform rod of length l is pivoted at a distance x from the top of the rod. Neglecting friction