4. (10 points) As shown in Figure 4, a charged particle with \( q \) Coulomb and \( m \) kg passes through a region with the first magnetic field \( B{in} \) and the electric field \( E \). It is known that the charged particle can pass through the region without deflection when the charged particle moves in a specific velocity. After entering the second magnetic field \( B{0,in} \), the charged particle moves in a semicircle of radius \( r \) before striking a detector at \( P \). Please find \( r \) in terms of \( m \), \( B{in} \), \( E \), \( B{0,in} \), and \( q \).