Put a sine wave into two amplifier circuits. Both give you a larger signal, but when the input rises, one output falls and the other rises with it. You can see the difference on a two-channel oscilloscope and use the traces to check the gain you calculated.
We ran both circuits in LabsLand Hive, a remote electronics lab. You load the circuit and operate the instruments in a browser. The voltage samples come back from physical lab equipment. For an introductory electronics class, this makes a short exercise in predicting gain, interpreting phase, and reading two vertical scales.
Predict the gain before you measure
Both circuits use a UA741 with a 100 kΩ feedback resistor and a 10 kΩ resistor. Check where the signal and the two resistors go. The same values give different answers in the two circuits.
- Inverting. The input goes through the 10 kΩ resistor to the inverting terminal. The non-inverting terminal is grounded. The predicted gain is −100 kΩ ÷ 10 kΩ = −10.
- Non-inverting. The input goes straight to the non-inverting terminal. The 10 kΩ resistor goes from the inverting terminal to ground. The predicted gain is 1 + 100 kΩ ÷ 10 kΩ = +11.
What the oscilloscope showed
We used the two 100 kΩ circuit files in the Hive op-amp documentation with their preset 1 kHz sine waves and ±15 V supply. Channel 1 (yellow) shows the input voltage. Channel 2 (cyan) shows the output. The presets use different input amplitudes, so compare the ratio within each measurement.


| Circuit | Input | Output |
|---|---|---|
| Inverting | 1.00 V | 10.03 V |
| Non-inverting | 0.49 V | 5.53 V |
From the unrounded amplitudes, we measured voltage gains of about −10.1 and +11.2. The phase difference was about 176° for the inverting circuit and about 1° for the non-inverting circuit. We fitted the sine waves to the 500 acquired samples per channel. Hive assigned each circuit to a separate physical node, so these are two example measurements. Your results may differ slightly.
Try it with your class
- Download the two 100 kΩ files from the Hive circuit documentation. Open a full Hive session, choose Load and select one file. Open the oscilloscope and use Perform Measurement.
- Have students estimate the peak-to-peak voltage on each channel using its own volts-per-division setting. Ask them to calculate the magnitude of the gain and decide its sign from the timing of the peaks.
- Repeat with the second circuit. Ask where the input goes and why the non-inverting gain has the extra 1.
If you’re new to remote labs, the public Hive demo lets you make a measurement on a prepared resistor circuit. For the amplifier exercise, see the options for Hive class access.
This post is also available in Español.
