When wire is bent, length l=πr, where r is the radius of the semicircular are , ∴r=l/π
Distance between two poles of semicircular wire = 2r=2l/pi
Magnetic moment of semicircular wire = m×2r=m×2l/π=π2ml
But ml is the magnetic moment of straight wire i.e.ml = M ∴ New magenetic moment of straight wire i.e.ml = M ∴ New magnetic moment = 2M/π