Let r be the distance of a point on the axis of a bar magnet from its centre. The magnetic field at such a point is proportional to :