We know that magnetic induction on the axial line of a circular coil is B
where N = Number of turns in the coil
R = Radius of the coil
x = Distance from centre of the coil
i = Current in a coil
We know that magnetic induction field on the axial line of a bar magnet
Comparing the equations (1) and (2)
Magnetic moment (M) = NiA