A small bar A resting on a smooth horizontal plane is attached by threads to a point P and by means of a weightless pulley, to a weight B possessing the same mass as the bar itself. The bar is also attached to a point O by means of a light non-deformed spring of length l0=50 cm and stiffness k=5mgl0, where m is the mass of the bar. The thread PA having been burned, the bar starts moving to the right. Find its velocity at the moment when it breaks off the plane.