\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee1.tikz}
\begin{document}
\begin{circuitikz}
% time response: sine into a box, output?
\draw[->] (0,0) -- (1.6,0) node[right, font=\small]{$t$};
\draw[wave, domain=0:1.3, samples=80] plot (\x, {0.5*sin(deg(2*pi*\x/1.3))});
\node[block, minimum width=1.6cm, minimum height=1.2cm] (b) at (3.6,0) {};
\draw (2.4,0.35) node[ocirc]{} -- (2.8,0.35) (2.4,-0.35) node[ocirc]{} -- (2.8,-0.35);
\draw (4.4,0.35) -- (4.8,0.35) node[ocirc]{} (4.4,-0.35) -- (4.8,-0.35) node[ocirc]{};
\draw[->] (5.3,0) -- (6.9,0) node[right, font=\small]{$t$};
\node at (6.1,0.35) {?};
% half-wave rectifier
\begin{scope}[xshift=8.6cm, yshift=-0.9cm]
\draw (0,1.8) node[ocirc, label=left:$+$]{} to[empty diode, l=$D_1$] (1.8,1.8) -- (3,1.8) node[ocirc, label=right:$+$]{};
\draw (1.8,1.8) node[circ]{} to[R, l=$R_1$] (1.8,0) node[circ]{};
\draw (0,0) node[ocirc, label=left:$-$]{} -- (3,0) node[ocirc, label=right:$-$]{};
\node at (-0.35,0.9) {$V_\mathrm{in}$}; \node at (3.5,0.9) {$V_\mathrm{out}$};
\end{scope}
\end{circuitikz}
\end{document}
