Depict the magnetic field lines due to two straight, long parallel conductors carrying currents I1 and I2 in the same direction. Hence deduce on expression for the force acting per unit length on one conductor due to the other. Is this force attractive or repulsive?
Figure shows a rectangular current carrying loop placed 2 cm away from a long, straight, current carrying conductor. What is the direction and magnitude of the net force acting on the loop?

Given, two infinitely long conductors AB and CD with currents I1 and I2 in same direction respectively, placed parallel to each other, and separated by distance r.
Magnetic field produced by current at any point of CD is
This field acts perpendicular to CD and into the plane of paper. It exerts a force on wire CD carrying current I2.
Force exerted on unit length of CD is
According to Fleming's left hand rule, this force acts on CD towards AB.
Similarly, conductor CD also exerts an equal force AB towards itself. Hence the two wires get attracted towards each other.
Numerical:
Force on AB,