Given data
The length of the wire is L = 5 m
The magnitude of the current is I = 8 A
The magnitude of the magnetic field is B = 6 x 10-4 T
The expression for the magnitude of the magnetic force is given as:
Substitute the value in the above equation.
Thus, the magnitude of the magnetic force is 2.4 x 10-2 N.
The direction of the magnetic field is given as:
The direction of the current is given as:
The direction of the magnetic force is given as:
The positive direction means the direction of the force is outside the page.
Thus, the direction of the magnetic force is upward.