blob: 74e63f8d24664df97415c2256c225c30e7855182 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Grob's Basic Electronics 11e
// Chapter No. 33
// Example No. 33_8
clc; clear;
// Calculate the closed-loop voltage gain, Acl, and the output voltage, Vout.
// Given data
Vin = 1; // Input voltage=1 Volts(p-p)
Rf = 10*10^3; // Feedback resistance=10 kOhms
Ri = 1*10^3; // Input resistance=1 kOhms
Acl = 1+(Rf/Ri);
disp (Acl,'The Closed-Loop Voltage Gain Acl is')
Vo = Vin*Acl;
disp (Vo,'The Output Voltage in Volts(p-p)')
|