summaryrefslogtreecommitdiff
path: root/2045/CH5/EX5.2/Ex5_2.sce
blob: 64696bad82ba7d5321fe8ffe86a484ef1658dea9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//pagenumber 285 example 2
clear
ic=1.3*10^-3;//ampere
colres=2*10^3;//ohm
re=500;//ohm
v1=0.026;//volt
beta1=100;
vcc=15;//volt
c1=10*10^-6;//farad
ib=ic/beta1;
ri=0.01/ib;
volgai=beta1*colres*ib/0.01;
disp("voltage gain   =   "+string((volgai))+"<180");
disp("voltage gain reduced ce removed");
disp("when cb is   short circuited the voltage gain increased");