summaryrefslogtreecommitdiff
path: root/147/CH8/EX8.6/Example8_6.sce
blob: e147d21deb57d9051699a72b3675c1a765c66946 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
close();
clear;
clc;
Beta = 100;
Ibq = 20*10^(-6);
Vcc = 15;//V
Rc = 3000;//ohm
Icbo = 0;
alpha = Beta/(Beta+1);
Icq = Beta*Ibq;
Ieq = Icq/alpha;
Vceq = Vcc-Icq*Rc;
//Part (c)
Rc = 6000;
Vceq_c = Vcc-Icq*Rc;
mprintf('(a):Ieq = %0.2f mA\n(b):Vceq = %0.0f V\n(c):Vceq = %0.0f V',Ieq*1000,Vceq,Vceq_c);