The magnetic field B at a distance r from a long straight wire carrying current varies with distance r as shown in the figure.