Physics 2: Electricity and magnetism · Sources of magnetic field

The field of a long wire and of a loop

A current deflects a compass needle a few centimeters away, and the field that does it circles the wire and falls as 1/r.