\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee1.tikz}
\begin{document}
\begin{tikzpicture}
% n+ source and drain
\draw[line width=1pt] (0.4,0) .. controls (0.4,-0.7) and (2.2,-0.7) .. (2.2,0);
\draw[line width=1pt] (6.3,0) .. controls (6.3,-0.7) and (8.1,-0.7) .. (8.1,0);
\draw[line width=1pt] (0.4,0) -- (2.2,0) (6.3,0) -- (8.1,0);
% oxide (hatched) and gate
\draw[line width=1pt, pattern=north east lines] (2.0,0) rectangle (6.5,0.45);
\draw[line width=1pt] (2.0,0.45) rectangle (6.5,1.0);
% channel, pinched off at x
\fill[black!70] (2.1,0) -- (2.1,-0.32) -- (5.3,0) -- cycle;
% gate bias
\draw (4.3,1.0) -- (4.3,1.6) -- (-1.0,1.6) to[battery1, l_=$V_\mathrm{GS}$] (-1.0,0.7) node[ground]{};
% source to ground
\draw (1.3,0) -- (1.3,0.6) -- (0.0,0.6) -- (0.0,0.35) node[ground]{};
% drain bias
\draw (7.2,0) -- (7.2,0.6) -- (8.8,0.6) to[battery1, l=$V_\mathrm{DS}$] (8.8,-0.6) node[ground]{};
\node[font=\small] at (5.15,-0.3) {$x$};
\draw[->] (6.0,-1.2) to[bend right=20] (5.4,-0.1);
\node[font=\small, anchor=north] at (6.1,-1.15) {$V_\mathrm{GS}-V_x=V_\mathrm{TH}$};
% I_DS versus V_DS
\begin{axis}[sketch, at={(10cm,-1.2cm)}, width=6.4cm, height=4.4cm, xmin=0, xmax=2.6, ymin=0, ymax=1.35, xlabel={$V_\mathrm{DS}$}, ylabel={$I_\mathrm{DS}$}]
  \addplot+[domain=0:1, samples=40] {2*x-x^2};
  \addplot[gaaccent, line width=1.1pt] coordinates {(1,1) (2.5,1.12)};
  \addplot[black, dashed, line width=0.8pt] coordinates {(1,1) (2.5,1)};
  \draw[dim, dashed] (axis cs:1,0) -- (axis cs:1,1);
  \node[font=\small] at (axis cs:1.6,1.2) {Sat.};
  \draw[note, <-] (axis cs:2.3,1.11) -- ++(10pt,12pt) node[above]{reality};
  \draw[note, <-] (axis cs:2.3,0.99) -- ++(10pt,-12pt) node[below]{ideal};
\end{axis}
\end{tikzpicture}
\end{document}
