Explanation:
Given that,
The length of a wire, L = 48 m
Current in the wire, I = 18 A (west to east)
The magnetic field in the wire, B =
(towards south)
The magnetic force acting on the wire is given by :

Using right hand rule, the direction of magnetic force is upwards.