summaryrefslogtreecommitdiff
path: root/2045/CH4/EX4.15/Ex4_15.sce
blob: 9760f5c1f96cc70f1d9e96608ea8725461c8d200 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//example 15
clear
vcc=26;//volt
colres=20*10^3;//ohm
re=470;//ohm
beta1=45;
vce=8;//volt
ib=(vcc-vce)/((1+beta1)*(colres+re));
ic=beta1*ib;
r1=((vcc-colres*(ib+ic)-re*(ib+ic)-(0.7)))/ib;
disp("resistance   =   "+string((r1))+"ohm");
stability=(1+beta1)/(1+(beta1*re)/(re+colres));
disp("stability   =   "+string((stability)));//correction in the book