![如何编写以下运算放大器电路的乳胶代码?](https://linux22.com/image/446615/%E5%A6%82%E4%BD%95%E7%BC%96%E5%86%99%E4%BB%A5%E4%B8%8B%E8%BF%90%E7%AE%97%E6%94%BE%E5%A4%A7%E5%99%A8%E7%94%B5%E8%B7%AF%E7%9A%84%E4%B9%B3%E8%83%B6%E4%BB%A3%E7%A0%81%EF%BC%9F.png)
答案1
这应该能满足您的要求。您只需更改此处或彼处的数值即可延长整个过程。
\documentclass[tikz]{standalone}
\usepackage[american]{circuitikz}
\begin{document}
\begin{tikzpicture}
\draw
node[op amp](amp){}
(amp.out)
to[short,-*] ++(0.5,0)coordinate(out)
to[short,-o] ++(1,0) node[right]{$V_{\mathrm{o}}$}
(amp.-)
to[short,bipole nodes={none}{circ,color=blue}]
++(-.5,0)coordinate(A)node[below,blue]{$A$}
to[short] ++(0,1) coordinate(tmp)
to[R,l=$R_y$] (tmp-|out)
to[short] (out)
(amp.+)
to[short] (amp.+-|A)
to[vsource,l_=$V_{\mathrm{i}}$] ++(0,-1.5) node[sground](gnd){}
(A)
to[R,l_=$R_x$] ++(-2.5,0)coordinate(tmp)
to[short] (tmp|-gnd) node[sground]{}
;
\end{tikzpicture}
\end{document}