A wire carrying current I is bent in the shape ABCDEFA as shown, where rectangle ABCDA and ADEFA are perpendicular to each other. If the sides of the rectangles are of lengths a and b, then the magnitude and direction of magnetic moment of the loop ABCDEFA is:

Magnetic moment of loop ABCDA in the XY-plane:
Magnetic moment of loop ADEFA in the XZ-plane:
Total magnetic dipole moment vector:
Magnitude of the total magnetic moment:
Direction unit vector:
Tagged Magnetic dipole moment of current loops and torque on loops. Machine-assigned, so read it as a strong shortlist rather than a verdict.