\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee1.tikz}
\begin{document}
\begin{tikzpicture}
\fill[gafill] (2.6,0) rectangle (3.4,2);
\draw[line width=1.1pt] (0,0) rectangle (6,2);
\draw (2.6,0) -- (2.6,2) (3.4,0) -- (3.4,2) (3,0) -- (3,2);
\pnions{2.8}{0.1}{1.9}{4}{+} \pnions{3.2}{0.1}{1.9}{4}{-}
\node at (1.3,2.3) {n}; \node at (4.7,2.3) {p};
\draw[->] (2.7,2.3) -- (3.3,2.3) node[midway, above]{$\vec E$};
\draw[gaaccent] (0.1,1.65) -- (2.5,1.65) (0.1,0.35) -- (2.5,0.35) (3.5,1.65) -- (5.9,1.65) (3.5,0.35) -- (5.9,0.35);
\node[left] at (0,1.65) {$N_\mathrm{D} \approx n_\mathrm{n}$}; \node[left] at (0,0.35) {$\dfrac{n_\mathrm{i}^2}{N_\mathrm{D}} \approx p_\mathrm{n}$};
\node[right] at (6,1.65) {$p_\mathrm{p} \approx N_\mathrm{A}$}; \node[right] at (6,0.35) {$n_\mathrm{p} \approx \dfrac{n_\mathrm{i}^2}{N_\mathrm{A}}$};
\contact{(0,1)}{-1} \contact{(6,1)}{1}
\node[below] at (2.6,0) {$x_1$}; \node[below] at (3.4,0) {$x_2$};
\end{tikzpicture}
\end{document}
