Arturo O. answered 07/17/18
Tutor
5.0
(66)
Experienced Physics Teacher for Physics Tutoring
By Gauss' law, the flux through the surface of the cube is just the the total enclosed charge divided by the electric permitivity.
Φ = Q/ε0
To maximize Φ, just maximize Q. But
Qmax= λr,
where r is the maximum length of wire that fits inside the cube. If the length of the cube is L, then
r = √(3L2) = (√3)L
Then
Φmax = (√3)Lλ / ε0