summaryrefslogtreecommitdiff
path: root/226/CH5/EX5.12/example12_sce.sce
blob: 560106b4132924136067a0396bf1abeb049de99f (plain)
1
2
3
4
5
6
7
8
9
//chapter 5
//example 5.12
//page 209
printf("\n")
printf("given")
Vce=5;Ic=5*10^-3;Vcc=15;hfe=100;
Ib=Ic/hfe
Rc=(Vcc-Vce)/(Ic+Ib)
Rb=(Vce-Vbe)/Ib