A horizontal plane supports a plank with a bar of mass \(m=1.0 \mathrm{~kg}\) placed on it and attached by a light elastic non-deformed cord of length \(l_{0}=40 \mathrm{~cm}\) to a point \(O\) (Fig. 1.35). The coefficient of friction between the bar and the plank equals \(k=0.20 .\) The plank is slowly shifted to the right until the bar starts sliding over it. It occurs at the moment when the cord deviates from the vertical by an angle \(\theta=30^{\circ} .\) Find the work that has been performed by that moment by the friction force acting on the bar in the reference frame fixed to the plane.