Question

A slender rod of length l and mass m2 is attached by a frictionless pivot at 'A' to a block of mass m1. The blockmoves horizontally on rollers. The position of the block is described by the x coordinate and bar rotationalposition by 0:

Fig: 1