A square frame carrying a current I = 0.90 A is located in the same plane as a long straight wire carrying a current I0 = 5 A, The frame side has a length a = 8 cm. The axis of the frame passing through the mid-point of the opposite sides is parallel to the wire and is separated form it by a distance h = 15 times greater than the side of the frame. Find: (a) ampere force acting on the frame. (b) The mechanical work to be performed in order to turn the frame through 180∘ about its axis, with the current maintained constant.

