Answer:
First, let's define the coordinate axes: positive x direction is to the right, positive y direction is to upwards, and z direction is out-of-the plane (towards you).
If the particle is moving with velocity
in the presence of an external E-field, than according to the below formula E-field pushes the positive charge in the direction of the field, which is upward.
.
If the velocity of the particle is unchanged, this means that the particle does not have an acceleration, so net force applied to the particle is zero.
We know that the force caused by the E-field is upwards, so an equal amount of another force is directed downwards. This second force is caused by magnetic field. ![|F_B| = qvB](https://tex.z-dn.net/?f=%7CF_B%7C%20%3D%20qvB)
![F_{net} = 0\\F_{net} = F_E - F_B\\0 = qE_0 - qvB\\qE_0 = qvB\\B = \frac{E_0}{v}](https://tex.z-dn.net/?f=F_%7Bnet%7D%20%3D%200%5C%5CF_%7Bnet%7D%20%3D%20F_E%20-%20F_B%5C%5C0%20%3D%20qE_0%20-%20qvB%5C%5CqE_0%20%3D%20qvB%5C%5CB%20%3D%20%5Cfrac%7BE_0%7D%7Bv%7D)
This is the magnitude of the magnetic field.
For the direction of the magnetic field we can use right-hand rule with the following equation:
![F_B = q(v \times B)](https://tex.z-dn.net/?f=F_B%20%3D%20q%28v%20%5Ctimes%20B%29)
Here,
is in the x-direction.
is in the (-y)-direction.
According to the right-hand rule, B-field should be in the z-direction (out-of-the plane, towards you.)
Explanation: