summaryrefslogtreecommitdiff
path: root/226/CH21/EX21.3/example3_sce.sce
blob: 363cdf072b142ec85c15e0256a34a3a4115a6ef0 (plain)
1
2
3
4
5
6
7
8
9
10
11
//chapter 21
//example 21.3
//page 951
printf("\n")
printf("given")
Vcc=9;Vf=1.6;Vb=7;hFE=100;Vce=.2;Ic=10*10^-3;Vbe=.7;
R2=(Vcc-Vf-Vce)/Ic
R2=680;//use standard value
Ic=(Vcc-Vf-Vce)/R2
Ib=Ic/hFE
Rb=(Vb-Vbe)/Ib