\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee1.tikz}
\begin{document}
\begin{circuitikz}
\draw[line width=1.1pt] (0,0) -- (6.2,0);
\draw (0.6,0) arc (180:360:0.6 and 0.45) node[pos=0.5, above, font=\small]{n+};
\draw (4.6,0) arc (180:360:0.6 and 0.45) node[pos=0.5, above, font=\small]{n+};
% channel charge ~ sqrt(1 - x/L): pinched off at the drain edge
\fill[gaaccent] (1.8,0) -- plot[domain=0:1, samples=60] ({1.8+2.8*\x}, {-0.3*sqrt(1-\x)}) -- cycle;
\fill[pattern=north east lines, pattern color=gagray] (1.8,0) rectangle (4.6,0.2);
\draw (1.8,0) rectangle (4.6,0.2);
\draw[line width=1.1pt] (1.8,0.2) rectangle (4.6,0.7);
\draw (1.2,0) -- (1.2,0.9) -- (0.4,0.9) -- (0.4,0.6) node[ground]{};
\draw (3.2,0.7) -- (3.2,1.9) -- (-0.5,1.9) to[battery1, l_=$V_\mathrm{GS}$] (-0.5,0.9) node[ground]{};
\draw (5.2,0) -- (5.2,1.3) -- (6.6,1.3) to[battery1, l=$V_\mathrm{DS}$] (6.6,0.2) node[ground]{};
\draw[note, <-] (4.3,-0.08) -- (3.6,-0.9) node[below]{Pinched-off};
\draw[note, <-] (4.62,-0.05) to[bend right=20] (5.4,-1.1) node[below right]{at the edge};
% Q_ch along x
\begin{axis}[sketch, at={(1.8cm,-4.2cm)}, anchor=origin, x=2.8cm, y=1.9cm, xmin=-0.35, xmax=1.3, ymin=-0.25, ymax=1.15, xlabel={$x$}, ylabel={$Q_\mathrm{ch}$}, xtick={1}, xticklabels={$L$}]
  \addplot[gaaccent, line width=1.1pt, domain=0:1, samples=120] {sqrt(1-x)};
  \draw[dashed] (axis cs:1,0) -- (axis cs:1,2.2);
\end{axis}
\end{circuitikz}
\end{document}
