for those that care,
the torque on a rectangular coil consisting of N loops is given by:
T = NIABcos@
here we have a cos@ factor, not a sin@ like we do in the force formula (you should be able to derive this equation). the magnetic field exerts a force on the vertical sections of...