blob: ac1555289f8337a6e60d8f695490eb6f4fceb9ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
clc;
Vcc=10; //volt
Vbe=0.7; //volt
Rb=180000; //ohm
Hfe=100;
Rc=1500; //Ohm
Ib=(Vcc-Vbe)/(Rb+(Hfe*Rc)); //Ampere
Icq=Hfe*Ib; //Ampere
Vceq=Vcc-Icq*Rc; //volt
disp('mA',Icq*1000,"Icq=");//The answers vary due to round off error
disp('V',Vceq,"Vceq=");//The answers vary due to round off error
|