Assignment:
The cube is 40 cm on each edge. Four straight segments of wire - ab, bc, cd, and da - form a closed loop that carries a current I = 5 A, in the direction shown. The loop is placed in a uniform magnetic field of magnitude B = 0.020 T in the positive y direction. Determine the magnitude and direction of the magnetic force on each segment.

Provide complete and step by step solution for the question and show calculations and use formulas.