summaryrefslogtreecommitdiff
path: root/3630/CH7/EX7.9/Ex7_9.sce
blob: 7c30acd0206f6800eb4db1c1bf47c8f06b5f1ea2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clc;
Vcc=20; //volt
R2=10000; //Ohm
R1=68000; //ohm
Vth=(R2/(R1+R2))*Vcc; //volt//by voltage divider rule Thevenin
Rth=(R1*R2)/(R1+R2); //ohm
Vbe=0.7; //Volt
Hfe=50;
Re=1100; //Ohm
Rc=6200; //Ohm
Icq=(Vth-Vbe)/((Rth/Hfe)+Re); //Ampere
Vceq=Vcc-Icq*(Rc+Re); //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