A rigid wire consists of a semicircular position of radius \( R \) and two straight sections. The wire is partially immerged in a perpendicular magnetic field \( B = B_0 \hat{k} \) as shown in figure. The magnetic force on the wire if it has current \( i \) is:
