\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../fm.tikz}
\begin{document}
\begin{circuitikz}[font=\small]
\draw (0,0) to[american current source, l=$I_\mathrm{in}$] (0,2.4) -- (3.6,2.4); \draw (0,0) -- (3.6,0);
\draw (1.4,2.4) to[R, l=$R_1$] (1.4,0); \draw (2.5,0) to[battery1, l_=$V_\mathrm{B}$, invert] (2.5,1.2) to[empty diode, l_=$D_1$] (2.5,2.4);
\fill (1.4,2.4) circle (1.6pt) (2.5,2.4) circle (1.6pt) (1.4,0) circle (1.6pt) (2.5,0) circle (1.6pt);
\draw (3.6,2.4) node[ocirc]{}; \draw (3.6,0) node[ocirc]{}; \node at (3.6,2.0) {$+$}; \node at (3.95,1.2) {$V_\mathrm{out}$}; \node at (3.6,0.4) {$-$};
\begin{scope}[xshift=7.8cm, yshift=0.4cm]
\axes{-2.4}{2.8}{-1.0}{2.4}{$I_\mathrm{in}$}{$V_\mathrm{out}$}
\draw[cv] (-2.3,1.0) -- (1.0,1.0) -- (2.2,2.2); \draw[densely dashed] (1.0,0) -- (1.0,1.0);
\node[above left, font=\footnotesize] at (0,1.0) {$V_\mathrm{B}-V_\mathrm{D,on}$};
\draw (1.0,0.06) -- (1.0,-0.06) node[below, font=\footnotesize]{$\dfrac{V_\mathrm{B}-V_\mathrm{D,on}}{R_1}$};
\draw (1.5,1.5) -- (1.9,1.5) -- (1.9,1.9); \node[right, font=\footnotesize] at (1.9,1.55) {$R_1$};
\end{scope}
\end{circuitikz}
\end{document}
