summaryrefslogtreecommitdiff
path: root/620/CH29/EX29.6/example29_6.sce
blob: ba6666400717cd655c53ba0b2bbc5ea0b0f264aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
vo=-6;
vi=0.1;
ri=2;
f=10;
p=6;
k=0.15;
disp("Part a");
av=vo/vi;
disp(av);
a1=av/(1-(k*av));
disp("the voltage gain is"); disp(a1);
disp("Part b");
r=ri*(1-k*av);
disp("the input resistance (in kΩ) is"); disp(r);
disp("Part c");
f1=f*(1-k*av);
disp("the bandwidth (in kHz) is"); disp(f1);
disp("Part d");
p1=p/(1-k*av);
disp("the distortion (in %) is"); disp(p1);
disp("Part e");
gbwp=a1*f1;
disp("the gain-bandwidth product is"); disp(gbwp);
disp("the gain-bandwith prodeuct is same as before feedback");