Step 1: Using the formula for r.m.s velocity.
The r.m.s. velocity \( v_{\text{rms}} \) of a gas is given by:
\[
v_{\text{rms}} = \sqrt{\frac{3kT}{m}}
\]
where \( k \) is Boltzmann's constant, \( T \) is temperature, and \( m \) is the molecular mass. For hydrogen and nitrogen, we know the ratio of r.m.s velocities:
\[
\frac{v_{\text{rms}}(\text{H}_2)}{v_{\text{rms}}(\text{N}_2)} = \sqrt{\frac{m_{\text{N}_2}}{m_{\text{H}_2}}}
\]
Substituting the given values and solving for \( T \), we get:
\[
T = 1050 \, \text{K}
\]
Step 2: Final Answer.
Thus, the temperature \( T \) is 1050 K.