\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee1.tikz}
\begin{document}
\begin{tikzpicture}
% bar
\draw[line width=1.1pt] (0,2.6) -- (3.6,2.6) arc (90:-90:0.2 and 0.4) -- (0,1.8);
\draw[line width=1.1pt] (0,2.2) ellipse (0.2 and 0.4);
\node at (1.9,2.2) {n-type};
\node[note] at (1.9,1.55) {(can be other type)};
\draw[->, gaaccent] (-1.1,2.55) -- (-0.15,2.3); \draw[->, gaaccent] (-1.1,2.05) -- (-0.15,2.15);
\node[note, left, align=right] at (-1.1,2.3) {injection\\of electrons};
% profile
\draw[->] (0,-0.1) -- (0,1.5) node[above left]{$n$};
\draw[->] (-0.1,0) -- (4,0) node[right]{$x$ (distance)};
\draw[gaaccent, line width=1.1pt, domain=0:3.8, samples=60, smooth] plot (\x, {1.3*exp(-\x/1.1)});
\node[below, font=\small, align=center] at (0.2,-0.1) {high\\concentration};
\node[below, font=\small, align=center] at (3.4,-0.1) {low\\concentration};
\end{tikzpicture}
\end{document}
