how does the magnetic force exerted by a magnet change as the distance between two magnets increases