A battery is connected between two points $A$ and $B$ on the circumference of a uniform conducting ring of radius $r$ and resistance $R$. One of the arcs $AB$ of the ring subtends an angle $ \theta$ at the centre. The intensity of the magnetic field at the centre due to a constant current in the ring is