If magnetic force on proton is balanced by its weight then we can write the equation
[tex]F_{mag} = mg[/tex]
[tex]qvB = mg[/tex]
now magnetic field is given by
[tex]B = \frac{mg}{qv}[/tex]
here
[tex]m = 1.6 * 10^{-27} kg[/tex]
[tex]q = 1.6 * 10^{-19}C[/tex]
[tex]v = 7 * 10^6 m/s[/tex]
[tex]B = \frac{1.6*10^{-27}* 9.8}{1.6 * 10^{-19}*7 * 10^6}[/tex]
[tex]B = 1.4 * 10^{-14} T[/tex]