Two long parallel wires X and Y, separated by a distance of 6 cm, carry currents of 5 A and 4 A, respectively, in opposite directions as shown in the figure. Magnitude of the resultant magnetic field at point P at a distance of 4 cm from wire Y is \( 3 \times 10^{-5} \) T. The value of \( x \), which represents the distance of point P from wire X, is ______ cm. (Take permeability of free space as \( \mu_0 = 4\pi \times 10^{-7} \) SI units.) 
Step 1: Formula for the magnetic field due to a long straight current-carrying wire.
\[ B = \frac{\mu_0 I}{2\pi r} \] where \( I \) = current, and \( r \) = distance from the wire.
Step 2: Magnetic fields at point P due to both wires.
Let: \[ B_X = \frac{\mu_0 I_X}{2\pi x}, \quad B_Y = \frac{\mu_0 I_Y}{2\pi (6 - x)}. \]
Given that the two currents are in opposite directions, their magnetic fields at point \( P \) act in opposite directions. Therefore, the net magnetic field is the difference between the two magnitudes: \[ |B_X - B_Y| = 3 \times 10^{-5}\,\text{T}. \]
Step 3: Substitute known quantities.
\[ \frac{\mu_0}{2\pi} = 2 \times 10^{-7}, \quad I_X = 5\,\text{A}, \quad I_Y = 4\,\text{A}. \] \[ |2 \times 10^{-7} \left( \frac{5}{x} - \frac{4}{6 - x} \right)| = 3 \times 10^{-5}. \]
Step 4: Simplify the equation.
\[ \left| \frac{5}{x} - \frac{4}{6 - x} \right| = 150. \]
Remove the modulus and solve for \( x \). Assume \( \frac{5}{x} > \frac{4}{6 - x} \) (as \( x \) is closer to the weaker current wire): \[ \frac{5}{x} - \frac{4}{6 - x} = 150. \] Simplify: \[ \frac{5(6 - x) - 4x}{x(6 - x)} = 150. \] \[ \frac{30 - 9x}{x(6 - x)} = 150. \] \[ 30 - 9x = 150x(6 - x). \] \[ 30 - 9x = 900x - 150x^2. \] \[ 150x^2 - 909x + 30 = 0. \]
Step 5: Solve the quadratic equation (approximation).
\[ x \approx 1\,\text{cm}. \]
\[ \boxed{x = 1\,\text{cm}} \]
Let the lines $L_1 : \vec r = \hat i + 2\hat j + 3\hat k + \lambda(2\hat i + 3\hat j + 4\hat k)$, $\lambda \in \mathbb{R}$ and $L_2 : \vec r = (4\hat i + \hat j) + \mu(5\hat i + + 2\hat j + \hat k)$, $\mu \in \mathbb{R}$ intersect at the point $R$. Let $P$ and $Q$ be the points lying on lines $L_1$ and $L_2$, respectively, such that $|PR|=\sqrt{29}$ and $|PQ|=\sqrt{\frac{47}{3}}$. If the point $P$ lies in the first octant, then $27(QR)^2$ is equal to}