Bar Magnet With Magnetic Field