Q.
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 :

Solution: