summaryrefslogtreecommitdiff
path: root/226/CH5/EX5.10/example10_sce.sce
blob: 9992e0a91c9582123f9ac124e1b77b851c323ca3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//chapter 5
//example 5.10
//page 201
printf("\n")
printf("given")
Vt=4.8;Rt=8.8*10^3;//from example 5.8
Re=1*10^3;Vbe=.7;hfe=200;
Ib=(Vt-Vbe)/(Rt+Re*(1+hfe))
Ic=hfe*Ib
Ie=Ib+Ic
Ve=Ie*Re
Vc=Vcc-(Ic*Rc)
Vce=Vc-Ve