summaryrefslogtreecommitdiff
path: root/226/CH5/EX5.12/example12_sce.sce
blob: 5102425ca2f5f233433e9aca0de0ba95bfa968a1 (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;Vbe = 0.7;
Ib=Ic/hfe
Rc=(Vcc-Vce)/(Ic+Ib)
Rb=(Vce-Vbe)/Ib