arpon
- 234
- 16
Suppose there is a potential difference between points A and B which are connected by a straight wire. The current in AB is i.
We want to calculate the magnetic field at point C which is at distance r from the middle point P of the wire and CP is perpendicular to AB.
At first, we use Ampere's law. We consider a circular loop (of radius r) around the wire. Because of symmetry, magnetic field is always same in this loop. As the current through this loop is i,we get,
\oint \vec B \cdot d \vec s = B(2\pi r) = \mu _0 i
So, B = \frac {\mu _0 i}{2\pi r}
But, now we use Biot-Savart's law.
dB = \frac {\mu _0 i}{4\pi } \frac {i dl sin\theta }{r^2 + l^2}
So, B = \frac {\mu _0 i}{4\pi r} \frac {L}{\sqrt {r^2 + (\frac{L}{2})^2}}, where L =the length of AB.
We want to calculate the magnetic field at point C which is at distance r from the middle point P of the wire and CP is perpendicular to AB.
At first, we use Ampere's law. We consider a circular loop (of radius r) around the wire. Because of symmetry, magnetic field is always same in this loop. As the current through this loop is i,we get,
\oint \vec B \cdot d \vec s = B(2\pi r) = \mu _0 i
So, B = \frac {\mu _0 i}{2\pi r}
But, now we use Biot-Savart's law.
dB = \frac {\mu _0 i}{4\pi } \frac {i dl sin\theta }{r^2 + l^2}
So, B = \frac {\mu _0 i}{4\pi r} \frac {L}{\sqrt {r^2 + (\frac{L}{2})^2}}, where L =the length of AB.