# Chapter - 28 : SINUSOIDAL OSCILLATORS¶

## Ex 28.1 Pg 838¶

In [2]:
from __future__ import division

fo=22*10**3##
C=2*10**-9#
L=((0.159/fo)**2)/C#
print "L=%0.2f H"%L

L=0.03 H


## Ex 28.2 Pg 838¶

In [3]:
from __future__ import division
from math import sqrt
fo=2.2*10**6#
#fo1=(sqrt(2))/sqrt(C)#
fo1=sqrt(2)*fo#
print 'fo1=%0.2f MHZ'%(fo1*10**-6)

fo1=3.11 MHZ


## Ex 28.3 Pg 839¶

In [4]:
from __future__ import division
from math import sqrt,pi
C=100*10**-12#
L1=30*10**-6#
L2=1*10**-8#
fo=1/(2*pi*sqrt((L1+L2)*C))#
print 'fo=%0.2f MHZ'%(fo*10**-6)

fo=2.91 MHZ


## Ex 28.4 Pg 839¶

In [5]:
from __future__ import division
from math import sqrt,pi
L1=1000*10**-6#
L2=100*10**-6#
M=20*10**-6#
C=20*10**-12#
fo=1/(2*pi*sqrt((L1+L2+2*M)*C))#
print 'fo=%0.2f MHZ'%(fo*10**-6)

fo=1.05 MHZ


## Ex 28.5 Pg 840¶

In [6]:
from __future__ import division
from math import sqrt,pi
C=1*10**-9#
L1=4.7*10**-3#
L2=47*10**-6#
fo=1/(2*pi*sqrt((L1+L2)*C))#
print 'fo=%0.2f kHZ'%(fo*10**-3)

fo=73.05 kHZ


## Ex 28.6 Pg 840¶

In [7]:
from __future__ import division
from math import sqrt,pi
L1=2*10**-3#
L2=20*10**-6#
fo=950*10**3#
C=1/(4*pi**2*(L1+L2)*fo**2)#
print 'C=%0.2f pF'%(C*10**12)
fo=2050*10**3#
C=1/(4*pi**2*(L1+L2)*fo**2)#
print 'C=%0.2f pF'%(C*10**12)

C=13.89 pF
C=2.98 pF


## Ex 28.7 Pg 840¶

In [9]:
from __future__ import division
from math import sqrt,pi
L1=0.1*10**-3#
L2=10*10**-6#
fo=4110*10**3#
M=20*10**-6#
C=1/(4*pi**2*(L1+L2+M)*fo**2)#
print 'C=%0.2f pF'%(C*10**12)
AV=(L1/L2)#
print "AV=%0.2f "%AV

C=11.53 pF
AV=10.00


## Ex 28.8 Pg 841¶

In [10]:
from __future__ import division
from math import sqrt,pi
#e.g 28.8
fo=100*10**3#
L=0.5*10**-3#
C=2/(4*pi**2*L*fo**2)#
print 'C=%0.2f microF'%(C*10**6)

C=0.01 microF


## Ex 28.9 Pg 841¶

In [11]:
from __future__ import division
from math import sqrt,pi
C1=0.001*10**-6#
C2=0.01*10**-6#
L=5*10**-6#
AV=C2/C1#
print "AV=%0.2f "%(AV)
C=(C1*C2)/(C1+C2)
fo=1/(2*pi*sqrt(L*C))#
print 'fo=%0.2f MHZ'%(fo*10**-6)

AV=10.00
fo=2.36 MHZ


## Ex 28.10 Pg 841¶

In [12]:
from __future__ import division
from math import sqrt,pi
C1=0.1*10**-6#
C2=1*10**-6#
L=470*10**-6#
C=(C1*C2)/(C1+C2)
fo=1/(2*pi*sqrt(L*C))#
print 'fo=%0.2f kHZ'%(fo*10**-3)

fo=24.35 kHZ


## Ex 28.11 Pg 842¶

In [13]:
from __future__ import division
from math import sqrt,pi
C1=100*10**-12#
C2=7500*10**-12#
f01=950*10**3#
f02=2050*10**3#
C=(C1*C2)/(C1+C2)#
#f01=1/(2*pi*sqrt(L*C))
L1=1/(4*(pi)**2*C*f01**2)#
print 'L1=%0.2f microH'%(L1*10**6)
L2=1/(4*(pi)**2*C*f02**2)#
print 'L2=%0.2f microH'%(L2*10**6)

L1=284.41 microH
L2=61.08 microH


## Ex 28.13 Pg 842¶

In [15]:
from __future__ import division
from math import sqrt,pi
C1=0.1*10**-6#
C2=1*10**-6#
C3=100*10**-12#
L=470*10**-6#
C=1/((1/C1)+(1/C2)+(1/C3))#
fo=1/(2*pi*sqrt(L*C))#
print 'fo=%0.2f kHZ'%(fo*10**-3)

fo=734.53 kHZ


## Ex 28.14 Pg 843¶

In [16]:
from __future__ import division
from math import sqrt,pi
L=0.33#
C1=0.065*10**-12#
C2=1*10**-12#
R=5.5*10**3#
fs=1/(2*pi*sqrt(L*C1))#
print 'fs=%0.2f MHZ'%(fs*10**-6)
Q=(2*pi*fs*L)/R#
print "Q=%0.2f"%(Q)

fs=1.09 MHZ
Q=409.67


## Ex 28.15 Pg 843¶

In [17]:
from __future__ import division
from math import sqrt,pi
L=0.8#
C1=0.08*10**-12#
C2=1*10**-12#
R=5*10**3#
fs=1/(2*pi*sqrt(L*C1))#
print 'fs=%0.2f MHZ'%(fs*10**-6)
C=(C1*C2)/(C1+C2)#
fp=1/(2*pi*sqrt(L*C))#
print 'fp=%0.2f MHZ'%(fp*10**-6)

fs=0.63 MHZ
fp=0.65 MHZ