Magnetic Field of a Long Straight Wire
In many cases, we are interested in calculating the electric field of a long, straight wire. -Claimed by Arjun Patra
Calculation of Magnetic Field
Imagine orienting a wire on the y-axis and having a current run through the wire in the +y direction. We are interested in finding the magnetic field at some point along the z axis, say (0,0,z).
From here, it is an integral problem where you take an arbitrary piece of the rod and plug it into the generic formula for change in magnetic field: [math]\displaystyle{ \vec B=\frac{\mu_0}{4 \pi} \frac{I(l x r_hat) \x^2+y^2} }[/math]