Chapter -24 : FREQUENCY RESPONSE OF BJT AND JFET AMPLIFIERS¶

Ex 24.1 Pg 685¶

In [1]:
from __future__ import division
from math import log10
Pi=5#
Po=100#
G=10*log10(Po/Pi)#
print 'G=%0.2f dB'%G
G=13.01 dB

Ex 24.2 Pg 685¶

In [2]:
from __future__ import division
from math import log10
Pi=5*10**-3#
Po=1#
G=10*log10(Po/Pi)#
print 'G=%0.2f dB'%G #ans given in the book is wrong
G=23.01 dB

Ex 24.3 Pg 686¶

In [3]:
from __future__ import division
from math import log10
Pi=20*10**-6#
Po=100*10**-6#
G=10*log10(Po/Pi)#
print 'G=%0.2f dB'%G
G=6.99 dB

Ex 24.4 Pg 687¶

In [5]:
from __future__ import division
from math import log10
Po=25#
G=10*log10(Po/(1*10**-3))#
print 'G=%0.2f dB'%G
G=43.98 dB

Ex 24.5 Pg 688¶

In [6]:
from __future__ import division
from math import log10
V2=100#
V1=25#
G=10*log10(V2/V1)#
print 'G=%0.2f dB'%G
G=6.02 dB

Ex 24.8 Pg 689¶

In [8]:
from __future__ import division
from numpy import arange,pi
%matplotlib inline
from matplotlib.pyplot import plot,xlabel,ylabel,show
R=5*10**3#
C=0.1*10**-6#
f1=1/(2*pi*R*C)#
print 'f1=%0.2f HZ'%f1
i=arange(-21,0,3)
plot(i)#
xlabel("f (log scale)")#
ylabel( "Av(dB)")#
show()
f1=318.31 HZ

Ex 24.9 Pg 690¶

In [9]:
from __future__ import division
from numpy import arange,pi
%matplotlib inline
from matplotlib.pyplot import plot,xlabel,ylabel,show

RC=4*10**3#
R1=40*10**3#
R2=10*10**3#
RE=2*10**3#
RS=1*10**3#
RL=2.2*10**3#
CS=10*10**-6#
CE=20*10**-6#
CC=1*10**-6#
B=100#
VCC=20#
VB=(R2*VCC)/(R2+R1)#
IE=(VB-0.7)/RE#
re=(26*10**-3)/IE#
B*re#
vo=-(RC*RL)/(RC+RL)#
Av=vo/re#
a=(R1*R2)/(R1+R2)#
Ri=(a*(B*re))/(a+(B*re))#
Rs=1*10**3#
vibyvs=Ri/(Ri+Rs)#
Avs=Av*vibyvs#
a=(R1*R2)/(R1+R2)#
Ri=(a*(B*re))/(a+(B*re))#
fLS=1/(2*pi*(Rs+Ri)*CS)#
print 'fLS=%0.2f HZ'%fLS
fLC=1/(2*pi*(RC+RL)*CC)#
print 'fLC=%0.2f HZ'%fLC
a=(R1*R2)/(R1+R2)#
RS=(a*RS)/(a+RS)#
b=(RS/B+re)#
Re=(RE*b)/(RE+b)#
fLE=1/(2*pi*Re*CE)#
print 'fLE=%0.2f HZ'%fLE
i=arange(-21,0,3)
plot(i)#
xlabel("f (log scale)")#
ylabel( "Av(dB)")#
show()
fLS=6.87 HZ
fLC=25.67 HZ
fLE=326.85 HZ