An L-shaped bar of mass M is pivoted at one of its end so that it can freely rotate in a vertical plane