Two bar very narrow magnets are located in the x-y plane. Magnet # 1 lies on the x-axis and its north end is at x = +1.0cm, while its south end is at x = + 5.0cm. Magnet # 2 lies on the y-axis and its north end is at y = + 1.0cm, while its south end is at y = + 5.0cm, Magnet # 2 produces a magnetic field that is only one-half the magnitude of magnet # 1.
(a) In what direction would a compass point if it were located at the origin?
(b) Repeat part (a) for the situation where magnet # 1 is reversed in polarity.