A conducting rod of length l is hinged at point O. It is free to rotate in vertical plane. There exists uniform magnetic field →B in horizontal direction. The rod is released from the position shown in figure. The potential difference between two ends of rod is proportional to :