If an electron describes half a revolution in a circle of radius r in a magnetic field B, the energy acquired by it is