blob: 5e873d065792f14a5afa31f31ff15436f1af0bff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clc;
Vcc=8; //volt
Vbe=0.7; //volt
Rb=360000; //ohm
Ib=(Vcc-Vbe)/Rb; //Ampere
Hfe=100;
Ic=Hfe*Ib;//Ampere
Rc=2000; //ohm
Vce=Vcc-Ic*Rc; //volt
disp('mA',Ic*1000,"Ic=");//The answers vary due to round off error
disp('V',Vce,"Vce=");//The answers vary due to round off error
|