Problem:
A current carrying square loop of wire is placed in a uniform magnetic field pointing to the right (see figure). I the magnetic moment is pointing up, what is the direction of the current low in the wire segment closest to you labelled by i in the figure and which direction will the loop rotate (clockwise or counter clockwise)?