As shown in figure, a cuboid lies in a region with electric field E=2x2i^−4yj^+6k^ N/C. The magnitude of charge within the cuboid is nϵ0 C. The value of n is ______ (if dimension of cuboid is 1×2×3 m³)
Answer: 12
Solution
By Gauss's law the enclosed charge is q=ε0∮E⋅dA, obtained by adding the flux through the six faces of the cuboid, which sits with one corner at the origin and edges 1,2,3 m along x,y,z. For E=2x2i^−4yj^+6k^, the faces at x=0 and y=0 contribute nothing, and the constant 6k^ term gives equal and opposite flux on the two z-faces. The face at x=1 has Ex=2 over area 2×3, contributing +12, while the face at y=2 has Ey=−8 over area 1×3, contributing −24, so the net flux is 12−24=−12. Hence q=−12ε0, and writing it as nε0 fixes n=12.
JEE Main · 2023 · 30 Jan 2023 · Shift 2 · Integer answer