Step-by-step explanation:
It is given that,
Length of the wire, L = 2.1 m
Current, I = 5.1 A
Mass of the wire, m = 0.2 kg
Let B is the magnitude of the magnetic field necessary to have this wire "float" in the Earth's gravitational field such that,
![F_g=F_m](https://img.qammunity.org/2020/formulas/physics/college/i2mdyqqbp9fct52z920ndcyo1q1d1qpqok.png)
![mg=ILB](https://img.qammunity.org/2020/formulas/physics/college/2hl38nedftk73thupbco7rb19ogaxs21aa.png)
![B=(mg)/(IL)](https://img.qammunity.org/2020/formulas/physics/college/91tnp3bjy6sqy797i67ngjtcx5utjt6s5i.png)
![B=(0.2* 9.8)/(5.1* 2.1)](https://img.qammunity.org/2020/formulas/physics/college/fnta35d4qz3rtvf8tpu8kgvmorgg7pi5hn.png)
B = 0.18 T
The direction of magnetic field is given by Fleming's left hand rule. Here, the magnetic field is in +x direction.