To determine the direction of the magnetic field created by a current-carrying wire, you can use the right-hand rule.
- Point your thumb in the direction of the current (in this case, to the right).
- Curl your fingers around the wire.
Your fingers will curl in a circular direction around the wire. At point Z, which is located below the wire, your fingers will curl from the right side of the wire toward the bottom and towards the left side.
Thus, at point Z, the direction of the magnetic field will be directed into the screen.