summaryrefslogtreecommitdiff
path: root/3745/CH1/EX1.29/Ex1_29.sce
blob: e8ce21650fea1ca0014bd9f7ef8b7be8b1a22bb6 (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
27
28
29
// Ex 29 Page 372

clc;clear;close;
// Given
fT=6*10**6;//Hz
hfe=50;
Rs=500;//ohm
gm=0.04;//S
rbb_dash=100;//ohm
Cc=10*10**-12;//F
RL=1;//kohm

rbe=hfe/gm;//ohm
Ce=gm/2/%pi/fT;//F
C=Ce+Cc*(1+gm*RL);//F
hie=rbb_dash+rbe;//ohm
R=(Rs+rbb_dash)*rbe/((Rs+rbb_dash)+rbe);//ohm
f2=1/2/%pi/R/C;//Hz
printf("Voltage gain upper BW frequency = %.2f MHz",f2/10**6)
AIS=-hfe*Rs/(Rs+hie);//current gain
printf("\n Current gain = %.2f",AIS)
AVS=-hfe*RL*1000/(Rs+hie);//voltage gain
printf("\n Voltage gain = %.2f",AVS)
AVSf2=AVS*f2;//Hz
printf("\n Voltage gain BW product = %.2f MHz",abs(AVSf2/10**6))
AISf2=AIS*f2;//Hz
printf("\n Current gain BW product = %.2f MHz",abs(AISf2/10**6))

//answer in the textbook are wrong.