Magnetic Field due to a Segment of
Current
For example, to calculate the field in a rectangular current loop, find the field due to each of the four segments and add. It can be derived from the Biot-Savart law, and the result is
Bsegment = (m o/4p )(I/R)(cosa +cosb )
where the R is the ^ distance to the segment, and the angles are shown below.

at the center of a square loop for example, a and b are each 45o, and B becomes
B = (2m o/p 21/2)I/R.
What about just one plain segment? How do you get current to one end and away from the other end without contributing to the field due to the segment? That's easy, just have those two currents travel exactly toward and away from the point where the field is to be calculated.
What about a very long segment? The field is the familiar long straight wire
formula,
B = moI/2pR.
Check this, with a
= b
= 0, so cosa=cosb=1.
Back to main E&M, etc.
mechanics
fluids, heat, electricity and magnetism
vibrations and waves
quantum
index
questions, comments: fredrick.gram @ tri-c.edu (remove spaces)