In a uniform magetic field of induction B a wire in the form of semicircle of radius r rotates about the diameter of the circle with angular frequency $\omega$. The axis of rotation is perpendicular to the field. If the total resistance of the circuit is R the mean power generated per period of rotation is