summaryrefslogtreecommitdiff
path: root/226/CH4/EX4.4/example4_sce.sce
blob: 2f29340b88c35e6fc6ef756b07ad24190d036331 (plain)
1
2
3
4
5
6
7
8
9
//chapter 4
//example 4.4
//page 160
printf("\n")
printf("given")
Vcc=5;Vce=.2;R2=4.7*10^3;Vi=2;Vbe=.7;R1=12*10^3;
Ic=(Vcc-Vce)/R2
Ib=(Vi-Vbe)/R1
hFE=Ic/Ib