A straight wire of finite length carrying current I subtends an angle of 60∘ at point P as shown. The magnetic field at P is:
B=μ04πIR(sinϕ1+sinϕ2)
B=μ04πIxcos30o(sin30o+sin(−30o))
B=μ0I2√3π
Hence, magnetic field is μ0I2√3πx
A current of I ampere flows along an infinitely long straight thin walled hollow metallic cylinder of radius r. The magnetic field at any point outside the cylinder at a distance x form the axis is