summaryrefslogtreecommitdiff
path: root/3630/CH10/EX10.8/Ex10_8.sce
blob: c14db48c2e99cb486c808361c9c6a9d877e981e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clc;
R2=120; //Ohm
R1=120; //Ohm
Vcc=10; //Volt
Vb=Vcc*(R2/(R1+R2));//Volt
Re=3300; //Ohm
Vbe=0.7; //Volt
Ie=(Vb-2*Vbe)/Re; //Amperes
hfc1=70;
hfc2=70;
RE=3300; //Ohm
Rin1=hfc1*hfc2*RE; //Ohm//hfe=70 for current (Icq) 
disp('MegaOhm',Rin1/1000000,"Rin1=");//The answers vary due to round off error