This following applet is [b]twolinesBfield[/b]
Created by prof Hwang Modified by Ahmed
Original project [url=http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=1451]twolinesBfield[/url]
There is current flow I in the z direction (along z-axis) which will produce circular magnet field.
There is another current i along x direction initially (i<<I), the direction of thos current can be adjusted with slider.
The magnet force between current segment, in magnetic field is
The direction of current is represented with red arrow. Gray arrows are magnetic field, Blue arrows are interaction force.