About the Torque on a Current-Carrying Coil simulation
A rectangular coil carrying a current in a magnetic field feels forces on each side. This 3D simulation draws every one of them. The two sides perpendicular to the field feel F = NBIl in opposite directions, forming a couple; its arm is w cos θ, where θ is the angle between the coil's plane and the field. So the torque is τ = NBIA cos θ — largest with the plane along the field and zero when the coil faces the field.
The other two sides feel equal and opposite forces along the same line, so they cancel completely. Press play and the coil turns freely (with some friction) until it faces the field: there the forces are still present but they pull straight outward and have no turning effect. This is the principle behind electric motors and moving-coil meters.
Also covers: torque on a coil, nbia cos theta, current loop in magnetic field, magnetic moment, couple, motor principle.




