Why an inverting op-amp's gain is always -Rf/Rin, explained with a JavaScript example
A developer walks through the closed-loop gain of an inverting op-amp, using a 100 kΩ feedback resistor and a 10 kΩ input resistor. The derivation relies on the virtual ground concept, where the inverting input is held at 0 V by negative feedback, and zero input current, so the input and feedback currents are equal. Applying this to a 0.8 V input yields a gain of -10 and an output of -8 V, which the author confirms with a short JavaScript snippet. The article also notes that gains whose ideal output exceeds the supply rails, commonly ±15 V, will clip in a real circuit. The post closes by promoting PractiSci, a virtual physics and chemistry lab built by the author for Class 11-12 students.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in