\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee1.tikz}
\begin{document}
\begin{tikzpicture}
% ideal op amp
\node[draw, align=center, font=\small] at (-1.6,0.2) {Ideal\\op amp};
\draw[decorate, decoration={brace, amplitude=6pt}] (-0.4,-2.0) -- (-0.4,2.2);
\draw[->] (0,0.4) -- (3.6,0.4) node[right]{$t$};
\foreach \h in {0.6,0.9,1.2} \draw[line width=1pt] (0,0.4) -- (0.8,0.4) -- (0.8,0.4+\h) -- (3,0.4+\h);
\draw[->] (0,-1.9) -- (3.6,-1.9) node[right]{$t$};
\foreach \h in {0.6,0.9,1.2} \draw[gaaccent, line width=1pt, domain=0:2.2, samples=60] (0,-1.9) -- plot ({0.8+\x}, {-1.9+\h*(1-exp(-\x/0.9))});
% realistic op amp
\begin{scope}[yshift=-5.6cm]
\node[draw, align=center, font=\small] at (-1.6,-1.2) {Realistic\\op amp};
\draw[decorate, decoration={brace, amplitude=6pt}] (-0.4,-2.0) -- (-0.4,2.4);
\draw[->] (0,0.2) -- (3.6,0.2) node[right]{$t$};
\foreach \h in {0.5,0.9,1.3,1.7} \draw[line width=1pt] (0,0.2) -- (0.8,0.2) -- (0.8,0.2+\h) -- (3,0.2+\h);
\draw[->] (0,-1.9) -- (3.6,-1.9) node[right]{$t$};
% output: exponential with the initial slope limited to the slew rate (0.6 per unit)
\foreach \h in {0.4,0.7,1.0,1.3} {
  \pgfmathsetmacro\tau{0.9}
  \pgfmathsetmacro\ts{max(0,\tau*ln(\h/(0.6*\tau)) )}
  \draw[gaaccent, line width=1pt, domain=0:2.4, samples=80] (0,-1.9) -- plot ({0.8+\x}, {-1.9 + (\x<\ts ? 0.6*\x : 0.6*\ts + (\h - 0.6*\ts)*(1-exp(-(\x-\ts)/\tau)))});
}
\draw[note, <-] (1.1,-1.75) -- (0.5,-0.9) node[above, align=center]{Slew rate\\of the op amp};
\end{scope}
\end{tikzpicture}
\end{document}
