Given:
Magnetic moment of the magnetic dipole, M = 0.72 Am2
Horizontal component of Earth's magnetic field, BH = 18 μT
Let d be the distance of the neutral point from the south of the dipole.
When the magnet is such that its north pole faces the geographic south of Earth, the neutral point lies along the axial line of the magnet.
Thus, the magnetic field on the axial point of the dipole (B) is given by
This magnetic field strength should be equal to the horizontal component of Earth's magnetic field.
Thus,