Magnetic Field due to a current in a straight wire
Let’s now consider the magnetic field at some point (x) a distance a above a current, I, in a straight wire. We start with the Biot-Savart Law: B = (mo I /4p) ? dL sin(qIr) / r2.
By the RHR, the direction of B is out of the screen. x