A student uses two compass needles to investigate the magnetic field around a bar magnet….