summaryrefslogtreecommitdiff
path: root/3630/CH7/EX7.8/Ex7_8.sce
blob: 0b4076b979e1317a4d788ece969b70f4784863de (plain)
1
2
3
4
5
6
7
8
9
10
11
clc;
Vcc=20; //volt
R2=1000; //ohm
R1=6800; //ohm
Vb=(R2/(R1+R2))*Vcc; //volt//voltage divider rule
Ve=Vb-0.7; //volt
Re=1000; //ohm
Ie=Ve/Re; //Ampere
Hfe=50;
Ib=Ie/(Hfe+1); //Ampere
disp('Amperes',Ib,"Ib=");//The answers vary due to round off error