summaryrefslogtreecommitdiff
path: root/1658/CH18/EX18.20/Ex18_20.sce
blob: 7576316d704c2c3edc3cdea9c35b33dc463aeebc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

clc;
VCC=8;
VRC=0.5;
RC=800;
a=0.96;
VCE=VCC-VRC;//VRC=IC*RC
IC=VRC/RC;
disp('mA',IC*10**3,"IC=");
IE=IC/a;
disp('mA',IE*10**3,"IE=");
IB=IE-IC;
disp('microA',IB*10**6,"IB=");