\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.3,0) to[empty diode, l=$D_1$] (1.3,2.4); \draw (2.5,2.4) to[R, l=$R_1$] (2.5,1.2) to[battery1, l=$V_\mathrm{B}$] (2.5,0);
\fill (1.3,2.4) circle (1.6pt) (2.5,2.4) circle (1.6pt) (1.3,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=8.6cm, yshift=0.6cm]
\axes{-3.0}{2.2}{-1.4}{2.2}{$I_\mathrm{in}$}{$V_\mathrm{out}$}
\draw[cv] (-2.9,-0.7) -- (-1.4,-0.7) -- (0.6,2.0); \draw[densely dashed] (-1.4,0) -- (-1.4,-0.7) -- (0,-0.7);
\fill (0,1.19) circle (1.2pt); \node[right, font=\footnotesize] at (0,1.1) {$V_\mathrm{B}$};
\draw (0.06,-0.7) -- (-0.06,-0.7); \node[right, font=\footnotesize] at (0,-0.7) {$-V_\mathrm{D,on}$};
\draw (-1.4,0.06) -- (-1.4,-0.06); \node[above left, font=\footnotesize] at (-1.3,0) {$-\dfrac{V_\mathrm{B}+V_\mathrm{D,on}}{R_1}$};
\draw (-0.9,-0.025) -- (-0.5,-0.025) -- (-0.5,0.515); \node[right, font=\footnotesize] at (-0.5,0.3) {};
\node[right, font=\footnotesize] at (-0.5,0.2) {$R_1$};
\end{scope}
\end{circuitikz}
\end{document}
