summaryrefslogtreecommitdiff
path: root/2609/CH2/EX2.7/ex_2_7.sce
blob: a286f9be7aa9c034a8cea7a8fa383b130ff335e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
////Ex 2.7
clc;
clear;
close;
format('v',7);
Beta=100;//unitless
VBE=0.7;//V
VD1=0.7;VD2=0.7//V
VCC=15;//V
VEE=15;//V
VT=26;//mV
RE=560;//ohm
RC=6.8;//kohm
R=220;//ohm
VB=-VEE+VD1+VD2;//V
VE=VB-VBE;//V
IE3=(VE-(-VEE))/RE*1000;//mA
IT=IE3;//mA
ICQ=IT/2;//mA
VCEQ=VCC+VBE-ICQ*RC;//V
Q=[ICQ VCEQ];//[mA V](Q point)
disp(Q,"Q point (ICQ(mA), VCEQ(V)) is ");
re=2*VT/IT;//ohm
Ad=-RC*1000/re;//unitless
disp(Ad,"Differntial moe gain, Ad");
//Answer in the book is wrong for Q point.