The north and south poles of a solenoid change with