The magnitude of the electric field at a distance, \(r\), from an infinitely-long wire with charge per unit length, \(\lambda\), is given by: \[\begin{aligned} E = \frac{\lambda}{2\pi \epsilon_0r}\end...The magnitude of the electric field at a distance, \(r\), from an infinitely-long wire with charge per unit length, \(\lambda\), is given by: \[\begin{aligned} E = \frac{\lambda}{2\pi \epsilon_0r}\end{aligned}\] A section of length, \(l\), of the other wire carries charge, \(q=l\lambda\), so that the force on that section of wire has a magnitude: \[\begin{aligned} F_E=qE=\lambda l \left( \frac{\lambda}{2\pi \epsilon_0r}\right) = \frac{\lambda^2 l}{2\pi \epsilon_0r}\end{aligned}\] And the force …