When a current flows through a wire, magnetic field is produced around the wire. This magnetic field can be detected using a compass. (compass needle is actually a magnet).
Note that the compass needle follows the direction of the magnetic field. You can use your RHGR to determine the direction of the magentic field around the wire, hence knowing where the compass needle will turn.
Σχόλια