summaryrefslogtreecommitdiff
path: root/620/CH29/EX29.4/example29_4.sce
blob: 2e3998a8fa8c8b100b726bd9cb951ed07bba1477 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
ic=5/1000;
is=0.1/1000;
disp("Part a");
ai=ic/is;
disp("current gain is"); disp(ai);
disp("Part b");
vo=5;
vi=0.04;
av=vo/vi;
disp("voltage gain is"); disp(av);
disp("Part c");
ri=vi/is;
disp("input resistance (in Ω) is"); disp(ri);
disp("Part d");
ap=av*ai;
disp("power gain is"); disp(ap);