Changes

/* Running an AC Frequency Sweep Test of the BJT Amplifier */
Note that R<sub>S</sub> = R<sub>L</sub> = 50&Omega;. Before closing this tutorial lesson, you will calculate the voltage and power gains of your BJT amplifier. For this purpose, you will define "Custom Output Plots". In the AC Sweep Test Panel, click the "Preset Graphs..." button to open the Edit Plot List dialog. Define two new custom output plots with the names "Voltage_Gain" and "Power_Gain" as shown in the figures below. Use the following definitions:
GV = Voltage_Gain: 20*log10(abs(v(out)/v(in)))
GP = Power_Gain: 20*log10(abs(i(am2)/i(am1)))
Note that a dB-scale definition has been used. Remove the voltage amplitudes vm(in) and vm(out) from the graph plot list in the Edit Plot List dialog.
28,333
edits