I am trying to solve a system in which a bob is attached to a frame, which is rotating at a constant angular velocity and the length of rope is also decreasing. Using Lagrangian